From a743112170615a14f4e4e27822a54dc3ec491a6b Mon Sep 17 00:00:00 2001 From: 0ip Date: Thu, 19 Apr 2012 19:44:44 +0300 Subject: [PATCH] Fix #626, Plugins don't work if pad is on a subdir --- src/static/js/pluginfw/plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/js/pluginfw/plugins.js b/src/static/js/pluginfw/plugins.js index e6cb51905..b66af58ab 100644 --- a/src/static/js/pluginfw/plugins.js +++ b/src/static/js/pluginfw/plugins.js @@ -90,7 +90,7 @@ if (exports.isClient) { // which appears to fix the issue. var callback = function () {setTimeout(cb, 0);}; - jQuery.getJSON('/pluginfw/plugin-definitions.json', function(data) { + jQuery.getJSON('../pluginfw/plugin-definitions.json', function(data) { exports.plugins = data.plugins; exports.parts = data.parts; exports.hooks = exports.extractHooks(exports.parts, "client_hooks");