When generating the help path for a plugin, a slash was
missing in the string.
Signed-off-by: Lucio Correia <luciojhc(a)linux.vnet.ibm.com>
Signed-off-by: Gustavo Y. Ribeiro <gyr(a)linux.vnet.ibm.com>
---
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