mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Avoid removing all event listeners if the etemplate has no unique ID (happens for dialogs)
This commit is contained in:
parent
d94fc6b492
commit
26b8cae767
@ -116,7 +116,10 @@ etemplate2.prototype.resize = function()
|
||||
etemplate2.prototype.clear = function()
|
||||
{
|
||||
// Remove any handlers on window (resize)
|
||||
if(this.uniqueId)
|
||||
{
|
||||
$j(window).off("."+this.uniqueId);
|
||||
}
|
||||
|
||||
if (this.widgetContainer != null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user