From 4f2e8bf8642a993a0a5edf32a3172eaf77645a25 Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Sat, 23 May 2015 15:31:16 +0200
Subject: [PATCH] fixed ajax endpoint for styling plugin

---
 lib/plugins/styling/script.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/plugins/styling/script.js b/lib/plugins/styling/script.js
index 76cd1a847..f2b4b9ebb 100644
--- a/lib/plugins/styling/script.js
+++ b/lib/plugins/styling/script.js
@@ -39,7 +39,7 @@ jQuery(function () {
             params[params.length] = {name: 'run', value: 'preview'};
 
             jQuery.post(
-                    DOKU_BASE + '/lib/exe/ajax.php',
+                    DOKU_BASE + 'lib/exe/ajax.php',
                 params,
                 styling_updateCSS
             );
@@ -48,7 +48,7 @@ jQuery(function () {
 
     // load the dialog content and apply listeners
     $dialog.load(
-            DOKU_BASE + '/lib/exe/ajax.php',
+            DOKU_BASE + 'lib/exe/ajax.php',
         {
             'call': 'plugin_styling',
             'run':  'html',
-- 
GitLab