0001183: Can't close the popup dimension # view window
[fa-stable.git] / js / utils.js
index 781382b32b12ecfedf593393fd12e443436dfd87..5af7bfb4f644bab6e6e54836eb4ba38d5162d8a6 100644 (file)
@@ -251,8 +251,8 @@ function get_amount(doc, label) {
                return isNaN(val) ? 0 : val;
 }
 
-function goBack() {
-       if (window.history.length <= 1)
+function goBack(no_menu) {
+       if (no_menu)
         window.close();
        else
         window.history.go(-1);