Ignore:
Timestamp:
08/12/07 15:50:03 (12 years ago)
Author:
gogo
Message:

ImageManager? wasn't resizing and also was generating errors because the iframe didn't load popups/popup.js to
define Xinha.*

ticket:1058

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ImageManager/assets/manager.js

    r856 r877  
    8181      // Locate to the correct directory 
    8282      var dreg = new RegExp('^(.*/)([^/]+)$'); 
    83       if(dreg.test(param['f_url'])) 
     83      if(dreg.test(param['f_url']) && !(new RegExp('^https?://','i')).test(param['f_url'])) 
    8484      { 
    8585        changeDir(RegExp.$1); 
     
    212212        { 
    213213                if(typeof imgManager != 'undefined') 
    214                         imgManager.changeDir(newDir); 
     214    {       
     215            imgManager.changeDir(newDir); 
     216    } 
    215217        } 
    216218 
     
    336338                } 
    337339        } 
     340   
    338341        addEvent(window, 'load', init); 
Note: See TracChangeset for help on using the changeset viewer.