diff --git a/src/Oro/Bundle/MagentoBundle/Resources/views/OrderPlace/widget/place.html.twig b/src/Oro/Bundle/MagentoBundle/Resources/views/OrderPlace/widget/place.html.twig index 598a055ac65..eba2498d483 100644 --- a/src/Oro/Bundle/MagentoBundle/Resources/views/OrderPlace/widget/place.html.twig +++ b/src/Oro/Bundle/MagentoBundle/Resources/views/OrderPlace/widget/place.html.twig @@ -13,7 +13,7 @@ modalWidgetAlias = 'transaction-dialog', messageTemplate = _.template("<%= message %> \" class=\"order-link\"><%= urlLabel %> "); - $frame.load(function () { + $frame.on('load', function() { var offset = $frame.closest('.ui-dialog').find('.ui-dialog-titlebar').outerHeight() || 0; $frame.addClass('loaded').parent().css({'top': offset}); widgetManager.getWidgetInstance(