changeset 6544 | e0d20fb46389 |
parent 6421 | 32a6b11c4013 |
child 6726 | 51880d28ef63 |
--- a/web/data/cubicweb.edition.js Tue Oct 19 12:01:35 2010 +0200 +++ b/web/data/cubicweb.edition.js Tue Oct 19 13:13:13 2010 +0200 @@ -265,7 +265,7 @@ */ function togglePendingDelete(nodeId, eid) { // node found means we should cancel deletion - if (jQuery.className.has(cw.getNode('span' + nodeId), 'pendingDelete')) { + if (jQuery(cw.getNode('span' + nodeId)).hasClass('pendingDelete')) { cancelPendingDelete(nodeId, eid); } else { addPendingDelete(nodeId, eid);