Ignore:
Timestamp:
07/10/05 05:44:48 (14 years ago)
Author:
gogo
Message:

Various updates to ImageManager?, see #343

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ImageManager/editorFrame.php

    r111 r256  
    4343<?php if ($editor->isFileSaved() == 1) { ?> 
    4444        alert(i18n('File saved.')); 
     45  window.parent.opener.selectImage 
     46    ( 
     47      '<?php echo $imageInfo['savedFile'] ?>', 
     48      '<?php echo $imageInfo['savedFile'] ?>'.replace(/^.*\/?([^\/]*)$/, '$1'), 
     49      <?php echo $imageInfo['width'] ?>, 
     50      <?php echo $imageInfo['height'] ?> 
     51    ); 
     52  window.parent.opener.parent.refresh(); 
     53  window.parent.close(); 
    4554<?php } else if ($editor->isFileSaved() == -1) { ?> 
    4655        alert(i18n('File was not saved.')); 
Note: See TracChangeset for help on using the changeset viewer.