Browse Source

Be sure to close the window.

Joe Clarke 1 năm trước cách đây
mục cha
commit
ec7ae1a563
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      www/export_deadman.php

+ 5 - 1
www/export_deadman.php

@@ -253,7 +253,11 @@ if ($result != 0) {
         }
         exit(1);
     } else {
-        exit(0);
+        if ($is_script) {
+            exit(0);
+        } else {
+            echo "<script>window.close();</script>";
+        }
     }
 }