fix clicking the entire article for delete

This commit is contained in:
斟酌 鵬兄 2015-08-21 09:52:02 +08:00
parent a6618dc9ff
commit 33808fd46d
2 changed files with 5 additions and 3 deletions

View File

@ -227,7 +227,7 @@
contextMenu.getItemByKey("Settings").stage.className = "nt_icon_settings";
};
postData( processor, { action: "get" }, createContextMenu );
postData( processor, { "action": "get" }, createContextMenu );
};
Bootstrap.regInit( init );

View File

@ -14,8 +14,10 @@
var init = function()
{
var stage = Dand.id( "b_entry", true );
if( !stage ) return;
var stage = Dand.glass( "b_delete", true, Dand.id( "b_entry" ) );
if( !stage.length ) return;
stage = stage[0];
var doDelete = function( confirmed )
{