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/InsertSnippet/insert-snippet.js

    r893 r999  
    6060 
    6161InsertSnippet.prototype.onGenerate = function() { 
    62   this.editor.addEditorStylesheet(_editor_url + 'plugins/InsertSnippet/InsertSnippet.css'); 
     62  this.editor.addEditorStylesheet(Xinha.getPluginDir("InsertSnippet") + '/InsertSnippet.css'); 
    6363}; 
    6464 
    6565Xinha.Config.prototype.InsertSnippet = 
    6666{ 
    67   'snippets' : _editor_url+"plugins/InsertSnippet/demosnippets.js", // purely demo purposes, you should change this 
     67  'snippets' : Xinha.getPluginDir("InsertSnippet")+"/demosnippets.js", // purely demo purposes, you should change this 
    6868  'css' : ['../InsertSnippet.css'], //deprecated, CSS is now pulled from xinha_config 
    6969  'showInsertVariable': false, 
Note: See TracChangeset for help on using the changeset viewer.