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/InsertAnchor/insert-anchor.js

    r981 r999  
    44  var self = this; 
    55   
    6   this.placeholderImg = '<img class="IA_placeholder" src="'+_editor_url+'plugins/InsertAnchor/img/placeholder.gif" />'; 
     6  this.placeholderImg = '<img class="IA_placeholder" src="'+Xinha.getPluginDir("InsertAnchor")+'/img/placeholder.gif" />'; 
    77   
    88  // register the toolbar buttons provided by this plugin 
     
    3636 
    3737InsertAnchor.prototype.onGenerate = function() { 
    38   this.editor.addEditorStylesheet(_editor_url + 'plugins/InsertAnchor/insert-anchor.css'); 
     38  this.editor.addEditorStylesheet(Xinha.getPluginDir("InsertAnchor") + '/insert-anchor.css'); 
    3939   
    4040}; 
Note: See TracChangeset for help on using the changeset viewer.