[FIX] mass_mailing: never ending resize

In odoo@2972976 a mouseup that unbound resizing in mass mailing was
missing so once resizing there was no way to stop resizing.
This commit is contained in:
Nicolas Lempereur
2017-09-29 13:28:35 +02:00
parent 2eb9595f96
commit 599f726df5
@@ -59,6 +59,10 @@ options.registry["width-x"] = options.Class.extend({
self.change_width(event, self.$target, target_width, offset, true);
}
});
$body.one("mouseup", function(){
$body.off('.mass_mailing_width_x');
});
});
},
change_width: function (event, target, target_width, offset, grow) {