[IMP]Remove class hide from mobile preview.

bzr revid: bth@tinyerp.com-20130829111041-4d4p8c0xci54lve4
This commit is contained in:
bth-openerp
2013-08-29 16:40:41 +05:30
parent 52bed3d790
commit f67d416fc9
+1 -1
View File
@@ -218,12 +218,12 @@
start: function () {
$('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();
this.$el.removeClass('hide');
},
close: function () {
$('body').removeClass('oe_stop_scrolling');