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/Filter/filter.js

    r849 r999  
    4242Filter.prototype.add = function(filterName) { 
    4343  if(eval('typeof ' + filterName) == 'undefined') { 
    44     var filter = _editor_url + "plugins/filter/filters/" + filterName + ".js"; 
     44    var filter = Xinha.getPluginDir('Filter') + "/filters/" + filterName + ".js"; 
    4545    var head = document.getElementsByTagName("head")[0]; 
    4646    var evt = Xinha.is_ie ? "onreadystatechange" : "onload"; 
Note: See TracChangeset for help on using the changeset viewer.