Ignore:
Timestamp:
05/01/08 16:21:20 (12 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/ContextMenu/context-menu.js

    r988 r999  
    77// This notice MUST stay intact for use (see license.txt). 
    88// 
    9 // $Id$ 
     9// $Id:context-menu.js 988M 2008-04-12 13:46:09Z (local) $ 
    1010 
    1111Xinha.loadStyle("menu.css", "ContextMenu"); 
     
    345345                doc = popup.document; 
    346346                doc.open(); 
    347                 doc.write("<html><head><style type='text/css'>@import url(" + _editor_url + "plugins/ContextMenu/menu.css); html, body { padding: 0px; margin: 0px; overflow: hidden; border: 0px; }</style></head><body unselectable='yes'></body></html>"); 
     347                doc.write("<html><head><style type='text/css'>@import url(" + Xinha.getPluginDir('ContextMenu') + "/menu.css); html, body { padding: 0px; margin: 0px; overflow: hidden; border: 0px; }</style></head><body unselectable='yes'></body></html>"); 
    348348                doc.close(); 
    349349        } 
Note: See TracChangeset for help on using the changeset viewer.