[IMP] Improve bounce in H1 and lost content

bzr revid: ggh@tinyerp.com-20130215073601-nw5tqcabrlet1qn8
This commit is contained in:
ggh-openerp 2013-02-15 13:06:01 +05:30
parent 69fd654fce
commit 51879ca616
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,.oe_title,.oe_notebook_page").on('click', function (e) {
this.$el.find(".oe_form_group_row,.oe_form_field,label,h1,.oe_title,.oe_notebook_page, .oe_list_content").on('click', function (e) {
if(self.get("actual_mode") == "view") {
var $button = self.options.$buttons.find(".oe_form_button_edit");
$button.openerpBounce();