mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] Improved code and solved the bug of two arrows in dialog.
This commit is contained in:
committed by
Mantux11
parent
27ad484093
commit
f86d3fecfa
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user