[Kimchi-devel] [PATCH 37/38] Fix help path for plugins

Lucio Correia luciojhc at linux.vnet.ibm.com
Thu May 21 21:33:50 UTC 2015


---
 ui/js/src/wok.main.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ui/js/src/wok.main.js b/ui/js/src/wok.main.js
index f046466..f4c9940 100644
--- a/ui/js/src/wok.main.js
+++ b/ui/js/src/wok.main.js
@@ -335,7 +335,7 @@ wok.checkHelpFile = function(path) {
     if (/^tabs/.test(path))
         url = path.replace("tabs", "help/" + lang);
     else if (/^plugins/.test(path))
-        url = path.slice(0, path.lastIndexOf('/')) + "help/" + lang + path.slice(path.lastIndexOf('/'));
+        url = path.slice(0, path.lastIndexOf('/')) + "/help/" + lang + path.slice(path.lastIndexOf('/'));
     // Checking if help page exist.
     $.ajax({
         url: url,
-- 
1.7.1




More information about the Kimchi-devel mailing list