| | |
| | | } |
| | | |
| | | function showLoadIndicator() { |
| | | document.body.style.cursor = 'wait'; |
| | | |
| | | <?php |
| | | if($server_config_array['misc']['use_loadindicator'] == 'y'){ |
| | | ?> |
| | |
| | | } |
| | | |
| | | function hideLoadIndicator() { |
| | | document.body.style.cursor = ''; |
| | | |
| | | requestsRunning -= 1; |
| | | if(requestsRunning < 1) { |
| | | requestsRunning = 0; // just for the case... |
| | |
| | | if(passwordObj.value == ''){ |
| | | passwordObj.focus(); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | $('#dummy_username').val(userNameObj.value); |
| | | $('#dummy_passwort').val(passwordObj.value); |
| | | $('#dummy_login_form').submit(); |
| | | |
| | | var submitFormObj = jQuery.ajax({ type: "POST", |
| | | url: "content.php", |
| | | data: jQuery('#'+formname).serialize(), |