Changeset 877
- Timestamp:
- 08/12/07 15:50:03 (6 years ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
plugins/ImageManager/assets/manager.js (modified) (3 diffs)
-
plugins/ImageManager/images.php (modified) (2 diffs)
-
popups/popup.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/ImageManager/assets/manager.js
r856 r877 81 81 // Locate to the correct directory 82 82 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'])) 84 84 { 85 85 changeDir(RegExp.$1); … … 212 212 { 213 213 if(typeof imgManager != 'undefined') 214 imgManager.changeDir(newDir); 214 { 215 imgManager.changeDir(newDir); 216 } 215 217 } 216 218 … … 336 338 } 337 339 } 340 338 341 addEvent(window, 'load', init); -
trunk/plugins/ImageManager/images.php
r677 r877 210 210 211 211 if(window.top) 212 HTMLArea = window.top.HTMLArea;212 HTMLArea = Xinha = window.top.Xinha; 213 213 214 214 function hideMessage() … … 275 275 </script> 276 276 <script type="text/javascript" src="<?php print $IMConfig['base_url'];?>assets/images.js"></script> 277 <script type="text/javascript" src="../../popups/popup.js"></script> 277 278 <script type="text/javascript" src="assets/popup.js"></script> 278 279 </head> -
trunk/popups/popup.js
r797 r877 11 11 // 12 12 // $Id$ 13 Xinha = window.opener.Xinha; 13 if(typeof Xinha == 'undefined') 14 Xinha = window.opener.Xinha; 15 14 16 // Backward compatibility will be removed some time or not? 15 HTMLArea = window.opener.Xinha;17 HTMLArea = Xinha; 16 18 17 19 function getAbsolutePos(el) {
