summaryrefslogtreecommitdiff
path: root/web/share/js/wm.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/share/js/wm.js')
-rw-r--r--web/share/js/wm.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/share/js/wm.js b/web/share/js/wm.js
index 7e4105da..44238447 100644
--- a/web/share/js/wm.js
+++ b/web/share/js/wm.js
@@ -263,6 +263,9 @@ function __WindowManager() {
el_window.focus();
el_window.blur();
el_window.style.visibility = "hidden";
+ if (el_window.close_hook) {
+ el_window.close_hook();
+ }
};
var __toggleMenu = function(el_a) {