Browse Source

Merge pull request #552 from AngelFQC/BT8973

Fix image paths from asciimath plugin - refs BT#8973
Angel Fernando Quiroz Campos 10 years ago
parent
commit
f61fd88491

+ 1 - 1
main/inc/lib/javascript/ckeditor/plugins/asciimath/dialogs/mathjax.js

@@ -10,7 +10,7 @@ CKEDITOR.dialog.add( 'asciimath', function( editor ) {
     var preview,
         lang = editor.lang.asciimath;
 
-    var imagePath = CKEDITOR.basePath+'plugins/asciimath/images/';
+    var imagePath = CKEDITOR.plugins.getPath('asciimath') + "images/";
 
     return {
         title: lang.title,