Show
Ignore:
Timestamp:
03/27/07 18:30:28 (5 years ago)
Author:
ray
Message:

Ticket #908 Prompts broken in IE7: fixed for EFM & ImageManager

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ExtendedFileManager/assets/popup.js

    r681 r799  
    4848    window.close(); 
    4949} 
     50 
     51function popupPrompt( prompt, value, handler, title) 
     52{ 
     53   
     54    Dialog("prompt.html", function(param) 
     55    { 
     56      if (!param) // user must have pressed Cancel 
     57      { 
     58        return false; 
     59      } 
     60      else 
     61      { 
     62        handler (param.value); 
     63      } 
     64    }, {prompt:prompt,value:value,title:title}); 
     65}