mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] web_dialog_size: do not expand by default and correctly honor default_maximize parameter
This commit is contained in:
committed by
Pedro M. Baeza
parent
1b12b6b539
commit
0f0fc59e7e
@@ -8,11 +8,6 @@ openerp.web_dialog_size= function (instance) {
|
||||
.on('click', self.proxy('_extending'));
|
||||
self.$dialog_box.find('.dialog_button_restore')
|
||||
.on('click', self.proxy('_restore'));
|
||||
if(this.dialog_options.size == 'large')
|
||||
{
|
||||
self._extending();
|
||||
return result;
|
||||
}
|
||||
return jQuery.when(result).then(function()
|
||||
{
|
||||
var deferred = null;
|
||||
|
||||
Reference in New Issue
Block a user