[IMP] Improved code
bzr revid: ggh@tinyerp.com-20130312060020-lpz1dlwahx1nf7dh
This commit is contained in:
parent
f5422e8533
commit
4e5fb96772
|
@ -214,7 +214,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") || (self.get("actual_mode") == "edit")) {
|
||||
var $button = self.$el.find(".oe_highlight:not(.oe_form_invisible)").css({'float':'left','margin-left':'2px','position':'relative','left':'2px','white-space':'nowrap'});
|
||||
var $button = self.$el.find(".oe_highlight:not(.oe_form_invisible)").css({'float':'left','margin-left':'2px','margin-right':'3px','position':'relative','left':'2px','white-space':'nowrap'});
|
||||
$button.openerpBounce();
|
||||
e.stopPropagation();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue