Skip to content

Commit

Permalink
changed selector back to a again ;)
Browse files Browse the repository at this point in the history
  • Loading branch information
pulse00 committed Mar 7, 2010
1 parent 894fac5 commit 83eea6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/js/ckeditor/plugins/diem/plugin.js
Expand Up @@ -39,11 +39,11 @@ CKEDITOR.plugins.add('diem',
CKEDITOR.instances[editor.name].on('instanceReady', function() {
var overlayid;

$('#dm_page_tree li.ui-draggable').live('dragstart', function(event, ui){
$('#dm_page_tree a.ui-draggable').live('dragstart', function(event, ui){
overlayid = dmCkEditorCreateOverlay(editor, $.dm.ctrl.getHref('+/dmCkEditor/page/id/'));
});

$('#dm_page_tree li.ui-draggable').live('dragstop', function(event, ui) {
$('#dm_page_tree a.ui-draggable').live('dragstop', function(event, ui) {
$('#' + overlayid).remove();
});

Expand Down

0 comments on commit 83eea6b

Please sign in to comment.