[IMP]Bounce effect on bigger names(H1) and o2m fields

bzr revid: ggh@tinyerp.com-20130215063825-lkq8p74kbt1ynliq
This commit is contained in:
ggh-openerp 2013-02-15 12:08:25 +05:30
parent 5d31ed34d0
commit 69fd654fce
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM
this.has_been_loaded.resolve();
// Add bounce effect on button 'Edit' when click on readonly page view.
this.$el.find(".oe_form_group_row,.oe_form_field,label").on('click', function (e) {
this.$el.find(".oe_form_group_row,.oe_form_field,label,.oe_title,.oe_notebook_page").on('click', function (e) {
if(self.get("actual_mode") == "view") {
var $button = self.options.$buttons.find(".oe_form_button_edit");
$button.openerpBounce();