diff options
| author | ggh-openerp <ggh@tinyerp.com> | 2013-02-04 14:45:34 +0530 |
|---|---|---|
| committer | ggh-openerp <ggh@tinyerp.com> | 2013-02-04 14:45:34 +0530 |
| commit | 3e51a7eaac80fc33d644cfc3d033368cf49d6b73 (patch) | |
| tree | 1e38c9cd6f1bce244cb08320a9f446029f0d900c /addons/web/static/src | |
| parent | 081f3ee483bc3d32b2ab676e89b2eb06a6ec265c (diff) | |
[IMP] Improved bounce effect on popup form view
bzr revid: ggh@tinyerp.com-20130204091534-idayo7ag2b4g4vtp
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/js/view_form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 6889e2bba64..a6feae1bc20 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -213,7 +213,7 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM }); //bounce effect on red button when click on statusbar. this.$el.on('click', '.oe_form_field_status:not(.oe_form_status_clickable)', function (e) { - if((self.get("actual_mode") == "view")) { + if((self.get("actual_mode") == "view") || (self.get("actual_mode") == "edit")) { var $button = self.$el.find(".oe_highlight:not(.oe_form_invisible)").css({'float':'left','margin-left':'0px','white-space':'nowrap'}); $button.openerpBounce(); e.stopPropagation(); |
