Ignore:
Timestamp:
05/01/08 16:21:20 (11 years ago)
Author:
ray
Message:

#1195 Allow to specify an external url to load a plugin from

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/BackgroundImage/popups/bgimage.html

    r987 r999  
    1111  __dlg_translate("BackgroundImage"); 
    1212  __dlg_init(); 
    13  
    1413} 
    1514 
     
    2019 
    2120function insertbg(image) { 
    22         __dlg_close(window.opener._editor_url + "/plugins/BackgroundImage/backgrounds/" + image); 
     21        __dlg_close(window.opener.Xinha.getPluginDir('BackgroundImage') + "/backgrounds/" + image); 
    2322        return false; 
    2423} 
Note: See TracChangeset for help on using the changeset viewer.