Browse Source

代码注释

hy 6 years ago
parent
commit
0428f32b46
1 changed files with 7 additions and 7 deletions
  1. 7 7
      app/Application.js

+ 7 - 7
app/Application.js

@@ -41,12 +41,12 @@ Ext.define('uas.Application', {
     },
 
     onAppUpdate: function () {
-        Ext.Msg.confirm('Application Update', 'This application has an update, reload?',
-            function (choice) {
-                if (choice === 'yes') {
-                    window.location.reload();
-                }
-            }
-        );
+        // Ext.Msg.confirm('Application Update', 'This application has an update, reload?',
+        //     function (choice) {
+        //         if (choice === 'yes') {
+        //             window.location.reload();
+        //         }
+        //     }
+        // );
     }
 });