From cab1e94006e5b054b45d52eafa1d76a9a4858b4f Mon Sep 17 00:00:00 2001 From: ggh-openerp Date: Wed, 30 Jan 2013 12:59:00 +0530 Subject: [PATCH] [Fix] Fixed the issue of bounce effect in statusbar bzr revid: ggh@tinyerp.com-20130130072900-wvucseuo7fflaupq --- addons/web/static/src/js/view_form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 4880b3882ff..f7d27d666fc 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -212,7 +212,7 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM } }); //bounce effect on red button when click on statusbar. - this.$el.find(".oe_form_field_status:not(.oe_form_status_clickable)").on('click', function (e) { + this.$el.on('click', '.oe_form_field_status:not(.oe_form_status_clickable)', function (e) { if((self.get("actual_mode") == "view")) { var $button = self.$el.find(".oe_highlight:not(.oe_form_invisible)").css({'float':'left','clear':'none'}); $button.openerpBounce();