Skip to content

Commit

Permalink
Fix EZP-20572: Image editor stopped working after jQuery update to 1.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dpobel committed Mar 25, 2013
1 parent 222a9b3 commit 3f312d8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions design/standard/javascript/ezie.gui.js
Expand Up @@ -130,7 +130,7 @@ ezie.gui.eziegui = function () {
stop: ezie.gui.config.zoom().reZoom
});

$(".detachBox .sep").live("click", function() {
$(document).on("click", ".detachBox .sep", function() {
var optBox = $('#ezieOptsWindow');
$(this).closest(".detachBox").removeClass("detachBox").addClass("attachBox").appendTo(optBox.find(".content"));
optBox.fadeIn();
Expand All @@ -139,7 +139,7 @@ ezie.gui.eziegui = function () {
});
return false;
});
$(".attachBox .sep").live("click", function() {
$(document).on("click", ".detachBox .sep", function() {
$("#grid").animate({
marginRight: "161px"
});
Expand Down
3 changes: 3 additions & 0 deletions design/standard/javascript/jquery-migrate-1.1.1.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions design/standard/templates/ezie/gui.tpl
@@ -1,6 +1,7 @@
{*?template charset=utf-8?*}
{* Require jQuery, using JS Core *}
{ezscript_require( array( 'ezjsc::jquery',
'jquery-migrate-1.1.1.min.js',
'ezjsc::jqueryio',
'ezjsc::jqueryUI',
'ezie.namespaces.js',
Expand Down

0 comments on commit 3f312d8

Please sign in to comment.