[IMP]Improved for add scrolling class.

bzr revid: bth@tinyerp.com-20130827140057-qaw3l9c5pn8uaxvr
This commit is contained in:
bth-openerp
2013-08-27 19:30:57 +05:30
parent 597d20559a
commit d7432bbabf
+3
View File
@@ -214,6 +214,9 @@
$('body').addClass('oe_stop_scrolling');
$('body').addClass('oe_stop_scrolling');
$("#mobile-preview").removeClass('hide');
$("#mobile-preview").find('.oe_mobile_preview_header button').click(function() {
$('body').removeClass('oe_stop_scrolling');
});
document.getElementById("mobile-viewport").src = window.location.href + "?mobile-preview=true";
this.$el.modal();
},