[Fix] Fixed the issue of bounce effect in statusbar

bzr revid: ggh@tinyerp.com-20130130072900-wvucseuo7fflaupq
This commit is contained in:
ggh-openerp
2013-01-30 12:59:00 +05:30
parent e2618f83ff
commit cab1e94006
+1 -1
View File
@@ -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();