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/InsertPicture/insert-picture.js

    r686 r999  
    88function InsertPicture(editor) { 
    99  if ( typeof _editor_picturePath !== "string" ) 
    10     _editor_picturePath = _editor_url + "plugins/InsertPicture/demo_pictures/"; 
     10    _editor_picturePath = Xinha.getPluginDir("InsertPicture") + "/demo_pictures/"; 
    1111  InsertPicture.Scripting = "php"; //else "asp" 
    1212  editor.config.URIs.insert_image =  '../plugins/InsertPicture/InsertPicture.' + InsertPicture.Scripting + '?picturepath=' + _editor_picturePath; 
Note: See TracChangeset for help on using the changeset viewer.