forked from Botanical/BotanJS
fix clicking the entire article for delete
This commit is contained in:
parent
a6618dc9ff
commit
33808fd46d
@ -227,7 +227,7 @@
|
|||||||
contextMenu.getItemByKey("Settings").stage.className = "nt_icon_settings";
|
contextMenu.getItemByKey("Settings").stage.className = "nt_icon_settings";
|
||||||
};
|
};
|
||||||
|
|
||||||
postData( processor, { action: "get" }, createContextMenu );
|
postData( processor, { "action": "get" }, createContextMenu );
|
||||||
};
|
};
|
||||||
|
|
||||||
Bootstrap.regInit( init );
|
Bootstrap.regInit( init );
|
||||||
|
@ -14,8 +14,10 @@
|
|||||||
|
|
||||||
var init = function()
|
var init = function()
|
||||||
{
|
{
|
||||||
var stage = Dand.id( "b_entry", true );
|
var stage = Dand.glass( "b_delete", true, Dand.id( "b_entry" ) );
|
||||||
if( !stage ) return;
|
if( !stage.length ) return;
|
||||||
|
|
||||||
|
stage = stage[0];
|
||||||
|
|
||||||
var doDelete = function( confirmed )
|
var doDelete = function( confirmed )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user