Subversion Repositories ALCASAR

Rev

Rev 528 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 528 Rev 533
Line 325... Line 325...
325
 
325
 
326
    function doOnLoad(result, userurl, redirurl, adminurl, timeleft) {
326
    function doOnLoad(result, userurl, redirurl, adminurl, timeleft) {
327
	    if (timeleft) { // not in use
327
	    if (timeleft) { // not in use
328
        mytimeleft = timeleft;
328
        mytimeleft = timeleft;
329
      }
329
      }
330
      if ((result == 1)||(reslut == 4)) {	//success or already
330
      if ((result == 1)||(result == 4)) {	//success or already
331
	      //window.location = userurl;
331
	      //window.location = userurl;
332
		  if (alcasar_popup != null) alcasar_popup.focus();
332
		  if (alcasar_popup != null) alcasar_popup.focus();
333
		  
333
		  
334
		  if (adminurl != ''){
334
		  if (adminurl != ''){
335
			  window.location = adminurl;
335
			  window.location = adminurl;