diff --git a/htdocs/js/buttoniframewindow.js b/htdocs/js/buttoniframewindow.js index c50259d..5ee6a4a 100644 --- a/htdocs/js/buttoniframewindow.js +++ b/htdocs/js/buttoniframewindow.js @@ -35,8 +35,8 @@ Ext.ux.ButtonIframeWindow = function( config ){ }], listeners: { beforeclose: function(){ - this.toggle( false, false ); - this.wnd = null; + this.ownerButton.toggle( false, false ); + this.ownerButton.wnd = null; } }, });