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/SuperClean/super-clean.js

    r744 r999  
    111111  //  editor.setHTML('<strong>Tidied Html</strong>') 
    112112  // it's called through XMLHTTPRequest 
    113   'tidy_handler': _editor_url + 'plugins/SuperClean/tidy.php', 
     113  'tidy_handler': Xinha.getPluginDir("SuperClean") + '/tidy.php', 
    114114 
    115115  //avaliable filters (these are built-in filters) 
     
    219219      else 
    220220      { 
    221         Xinha._getback(_editor_url + 'plugins/SuperClean/filters/'+filter+'.js', 
     221        Xinha._getback(Xinha.getPluginDir("SuperClean") + '/filters/'+filter+'.js', 
    222222                      function(func) { 
    223223                        eval('SuperClean.filterFunctions.'+filter+'='+func+';'); 
     
    256256  if(this.html == false) 
    257257  { 
    258     Xinha._getback(_editor_url + 'plugins/SuperClean/dialog.html', function(txt) { lDialog.html = txt; lDialog._prepareDialog(); }); 
     258    Xinha._getback(Xinha.getPluginDir("SuperClean") + '/dialog.html', function(txt) { lDialog.html = txt; lDialog._prepareDialog(); }); 
    259259    return; 
    260260  } 
Note: See TracChangeset for help on using the changeset viewer.