Ignore:
Timestamp:
10/02/08 18:06:02 (11 years ago)
Author:
douglas
Message:

FIXED Ticket #1284 Leftover usage of _editor_url cleaned up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/BackgroundImage/background-image.js

    r1044 r1045  
    4646 
    4747  // When we get back from loading the dialog, we'll process our image template to handle as many images as specified. 
    48   Xinha._getback(_editor_url + 'plugins/BackgroundImage/dialog.html', function(getback) { 
     48  Xinha._getback(Xinha.getPluginDir('BackgroundImage') + '/dialog.html', function(getback) { 
    4949 
    5050    // Replace the template line with one line per image. 
     
    5454      for (bg in backgrounds) 
    5555      { 
    56         var thumbURL = _editor_url + 'plugins/BackgroundImage/backgrounds/thumbnails/' + bg + '.jpg'; 
    57         var imageURL = _editor_url + 'plugins/BackgroundImage/backgrounds/' + bg + '.jpg'; 
     56        var thumbURL = Xinha.getPluginDir('BackgroundImage') + '/backgrounds/thumbnails/' + bg + '.jpg'; 
     57        var imageURL = Xinha.getPluginDir('BackgroundImage') + '/backgrounds/' + bg + '.jpg'; 
    5858        replacement += template.replace(/%thumbnail%/,thumbURL).replace(/%image%/,imageURL); 
    5959      } 
Note: See TracChangeset for help on using the changeset viewer.