[MIG] Migrated web_dialog_size module in v13.

This commit is contained in:
sudhir-erpharbor
2019-10-04 11:53:36 +05:30
committed by Mantux11
parent 0456e831b2
commit 27ad484093
4 changed files with 6 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ Dialog.include({
return this._super.apply(this, arguments).then(function () {
self.$modal.find('.dialog_button_extend').on('click', self.proxy('_extending'));
self.$modal.find('.dialog_button_restore').on('click', self.proxy('_restore'));
return config.done(function(r) {
return (function(r) {
if (r.default_maximize) {
self._extending();
} else {