forked from extern/egroupware
Fix vfsSelect extra buttons sometimes failing to close the dialog after execution
This commit is contained in:
parent
437857cda3
commit
9a3b42bbf9
@ -1025,6 +1025,7 @@ var et2_vfsSelect = (function(){ "use strict"; return et2_inputWidget.extend(
|
||||
var extra_buttons_action = [];
|
||||
for (var i=0; i < this.options.extra_buttons.length; i++)
|
||||
{
|
||||
delete(this.options.extra_buttons[i]['click']);
|
||||
buttons.push(this.options.extra_buttons[i]);
|
||||
extra_buttons_action[this.options.extra_buttons[i]['id']] = this.options.extra_buttons[i]['id'];
|
||||
}
|
||||
@ -1081,6 +1082,7 @@ var et2_vfsSelect = (function(){ "use strict"; return et2_inputWidget.extend(
|
||||
jQuery(self.node).change();
|
||||
}
|
||||
delete app.vfsSelectUI;
|
||||
return true;
|
||||
}
|
||||
},
|
||||
title: this.options.dialog_title,
|
||||
|
Loading…
Reference in New Issue
Block a user