Commit 8e40a14dc246cec3b2deb6601d674999b9faf58b
1 parent
d95e8421
Exists in
master
and in
109 other branches
new vars in desktop
Showing
1 changed file
with
7 additions
and
5 deletions
Show diff stats
desktop.php
... | ... | @@ -33,8 +33,8 @@ |
33 | 33 | |
34 | 34 | <!-- <script type="text/javascript" src="js/lib/ext/builds/ext-core.js"></script> --> |
35 | 35 | <!-- <script type="text/javascript" src="js/lib/ext/bootstrap.js"></script> --> |
36 | -<!-- <script type="text/javascript" src="js/lib/ext/ext-all-debug-w-comments.js"></script>--> | |
37 | - <script type="text/javascript" src="js/lib/ext/ext-all.js"></script> | |
36 | +<!-- <script type="text/javascript" src="js/lib/ext/ext-all-debug-w-comments.js"></script> --> | |
37 | + <script type="text/javascript" src="js/lib/ext/ext-all.js"></script> | |
38 | 38 | <!-- <script type="text/javascript" src="js/lib/ext/ext-all-dev.js"> --> |
39 | 39 | <!-- <script type="text/javascript" src="js/lib/ext-override.js"></script> --> |
40 | 40 | |
... | ... | @@ -76,8 +76,10 @@ |
76 | 76 | |
77 | 77 | var myDesktopApp; |
78 | 78 | |
79 | + var isMigration = true; | |
79 | 80 | var sessionID = '<?php echo $sessionID; ?>'; |
80 | 81 | var isFirstVisit = '<?php echo $usrMgr->isFirst; ?>'; |
82 | + var isOldWS = '<?php echo $usrMgr->isOldWS; ?>'; | |
81 | 83 | var isSpecialInfo = '<?php echo $usrMgr->isSpecialInfo; ?>'; |
82 | 84 | var isNewInfo = '<?php echo $usrMgr->isNewInfo; ?>'; |
83 | 85 | var news = '../data/' + sessionID + '/INFO'; |
... | ... | @@ -91,11 +93,11 @@ |
91 | 93 | |
92 | 94 | var helpDir = 'help/'; |
93 | 95 | var isGuest = sessionID.match('guest'); |
94 | - | |
96 | + | |
95 | 97 | var max_uploaded_file_size = '<?php echo MAX_UPLOADED_FILESIZE; ?>'; |
96 | 98 | var guestSessionDuration = '<?php echo GuestSessionDuration*60; ?>'; // in secs |
97 | 99 | var maxGuestTimeInterval = '<?php echo MaxGuestTimeInterval; ?>'; // in days |
98 | - | |
100 | + | |
99 | 101 | //create mask class (LoadMask for elements has been deprecated, use Ext.dom.Element.mask & Ext.dom.Element.unmask) |
100 | 102 | var AMDAMask = new Ext.Class({ |
101 | 103 | show : function(interactivePlot) |
... | ... | @@ -116,7 +118,7 @@ |
116 | 118 | maskMsg.style.zIndex = '99999'; |
117 | 119 | if (interactivePlot) |
118 | 120 | { |
119 | - var killBtn = Ext.get('killopBtn'); | |
121 | + var killBtn = Ext.get('killopBtn'); | |
120 | 122 | killBtn.on('click',function(e,t) { |
121 | 123 | AmdaAction.killPlotRequest(function (result, e) |
122 | 124 | { | ... | ... |