Changeset 491 for trunk/plugins/Equation


Ignore:
Timestamp:
04/28/06 13:01:29 (13 years ago)
Author:
gocher
Message:

Ticket #754
images from Equation plugin not showing up

insert images with _editor_url path not with ../plugins/Equation/img/x.gif path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/Equation/equation.js

    r419 r491  
    6767        switch (cur_operation) { 
    6868                case "less_equal": 
    69                         editor.insertHTML('<img src="../plugins/Equation/img/dsp_less_equal.gif" style="position:relative; top:4px;">'); 
     69                        editor.insertHTML('<img src="' + _editor_url + '/plugins/Equation/img/dsp_less_equal.gif" style="position:relative; top:4px;">'); 
    7070                break; 
    7171                case "greater_egual": 
    72                         editor.insertHTML('<img src="../plugins/Equation/img/dsp_greater_equal.gif" style="position:relative; top:4px;">'); 
     72                        editor.insertHTML('<img src="' + _editor_url + '/plugins/Equation/img/dsp_greater_equal.gif" style="position:relative; top:4px;">'); 
    7373                break; 
    7474                case "notequal": 
    75                         editor.insertHTML('<img src="../plugins/Equation/img/dsp_notequal.gif" style="position:relative; top:4px;">'); 
     75                        editor.insertHTML('<img src="' + _editor_url + '/plugins/Equation/img/dsp_notequal.gif" style="position:relative; top:4px;">'); 
    7676                break; 
    7777                case "mul": 
Note: See TracChangeset for help on using the changeset viewer.