Index: trunk/phase3/config/index.php |
— | — | @@ -144,7 +144,6 @@ |
145 | 145 | </style> |
146 | 146 | <script type="text/javascript"> |
147 | 147 | <!-- |
148 | | - var firstrun = 1; |
149 | 148 | function hideall() { |
150 | 149 | <?php foreach (array_keys($ourdb) as $db) { |
151 | 150 | echo "\n document.getElementById('$db').style.display='none';"; |
— | — | @@ -156,13 +155,6 @@ |
157 | 156 | hideall(); |
158 | 157 | var dbarea = document.getElementById(id).style; |
159 | 158 | dbarea.display = (dbarea.display == 'none') ? 'block' : 'none'; |
160 | | - if (firstrun == 1) { |
161 | | - firstrun = 0; |
162 | | - return; |
163 | | - } |
164 | | - if (firstrun ==2 ) { |
165 | | - return; |
166 | | - } |
167 | 159 | var db = document.getElementById('RootUser'); |
168 | 160 | <?php foreach (array_keys($ourdb) as $db) { |
169 | 161 | echo "\n if (id == '$db') { db.value = '".$ourdb[$db]['rootuser']."';}"; |