phpBMS

Changeset 406 for trunk/phpbms/common

Show
Ignore:
Timestamp:
05/29/08 11:37:43 (4 years ago)
Author:
nate
Message:

- Fixed error with modalAlert and IE.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/common/javascript/common.js

    r404 r406  
    924924        text+="<DIV align=\"right\"><button id=\"modalOK\" accesskey=\"o\" type=\"button\" class=\"Buttons\" onclick=\"closeModal()\" style=\"width:75px\"> ok </button></DIV>"; 
    925925        showModal(text,"Alert",250); 
    926  
     926         
    927927        var okButton = getObjectFromID("modalOK"); 
    928         okButton.focus(); 
     928        try{ 
     929            okButton.focus(); 
     930        }catch(er){ 
     931            // stupid IE 
     932        }//end try 
    929933} 
    930934 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.