projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0e2e80
)
[FIX] form.destroy() doesn't clean up buttons area
author
Holger Brunn
<hbrunn@therp.nl>
Mon, 21 Jul 2014 08:04:46 +0000
(10:04 +0200)
committer
Holger Brunn
<hbrunn@therp.nl>
Mon, 21 Jul 2014 08:04:46 +0000
(10:04 +0200)
addons/web/static/src/js/view_form.js
patch
|
blob
|
history
diff --git
a/addons/web/static/src/js/view_form.js
b/addons/web/static/src/js/view_form.js
index
6237fe3
..
3897b4e
100644
(file)
--- a/
addons/web/static/src/js/view_form.js
+++ b/
addons/web/static/src/js/view_form.js
@@
-147,6
+147,9
@@
instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM
this.$el.off('.formBlur');
}
this._super();
+ if (this.$buttons) {
+ this.$buttons.remove();
+ }
},
load_form: function(data) {
var self = this;