fix for widget edit js missing

This commit is contained in:
Matt K. Fu 2013-04-08 14:39:31 +08:00
parent 3098496083
commit a4ebe31ada
2 changed files with 5 additions and 5 deletions

View File

@ -7,10 +7,6 @@ function append_id(){
}; };
} }
$("div.editable").live("mouseenter mouseleave", function (event) {
$(this).children('.edit_link').toggle();
});
$("#page_design").live('change', function() { $("#page_design").live('change', function() {
$.getScript($(this).attr('rel') + '?design_id=' + $(this).val() + append_id()); $.getScript($(this).attr('rel') + '?design_id=' + $(this).val() + append_id());
}); });

View File

@ -22,3 +22,7 @@ var bindTreeDragHandle = function(){
} }
}); });
} }
$("div.editable").live("mouseenter mouseleave", function (event) {
$(this).children('.edit_link').toggle();
});