author | Dan |
Sun, 22 Mar 2009 00:45:56 -0400 | |
changeset 883 | ac2cef868fa9 |
parent 882 | 7a10590f58eb |
child 884 | d6c7b310295d |
--- a/includes/clientside/static/login.js Sun Mar 22 00:45:21 2009 -0400 +++ b/includes/clientside/static/login.js Sun Mar 22 00:45:56 2009 -0400 @@ -1207,10 +1207,13 @@ targetpage(); } }, level); - ajaxLoginShowFriendlyError({ - error_code: 'admin_session_timed_out', - respawn_info: {} - }); + if ( typeof(adminpage) == 'string' ) + { + ajaxLoginShowFriendlyError({ + error_code: 'admin_session_timed_out', + respawn_info: {} + }); + } } window.ajaxRenewSession = function()