summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/widgets/change_password.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/js/widgets/change_password.js')
-rw-r--r--addons/web/static/src/js/widgets/change_password.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/js/widgets/change_password.js b/addons/web/static/src/js/widgets/change_password.js
index cded9dc9a4d..a3654e6d0a1 100644
--- a/addons/web/static/src/js/widgets/change_password.js
+++ b/addons/web/static/src/js/widgets/change_password.js
@@ -13,8 +13,8 @@ var ChangePassword = Widget.extend({ // FIXME
var self = this;
this.getParent().set_title(_t("Change Password"));
var $button = self.$el.find('.oe_form_button');
- $button.appendTo(this.getParent().$buttons);
- $button.eq(2).click(function(){
+ $button.appendTo(this.getParent().$footer);
+ $button.eq(1).click(function(){
self.$el.parents('.modal').modal('hide');
});
$button.eq(0).click(function(){