[IMP] Improved code and solved the bug of two arrows in dialog.

pull/1394/head
sudhir-erpharbor 2019-10-11 11:40:03 +05:30
parent 3606bfed8d
commit 8f473f2313
1 changed files with 1 additions and 1 deletions

View File

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