From 36754be64076674f6f61365df4f99396b7de1da7 Mon Sep 17 00:00:00 2001
From: Wladimir J. van der Laan <laanwj@gmail.com>
Date: Sun, 27 Feb 2011 21:17:25 +0100
Subject: [PATCH] prefix/base js for plugins
---
deluge/ui/web/pluginmanager.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/deluge/ui/web/pluginmanager.py b/deluge/ui/web/pluginmanager.py
index d247e07..7b4d244 100644
a
|
b
|
def get_plugin_resources(self, name):
|
146 | 146 | return |
147 | 147 | info = gather_info(plugin) |
148 | 148 | info["name"] = name |
149 | | info["scripts"] = ["/js/%s/%s" % (name.lower(), os.path.basename(s)) for s in info["scripts"]] |
150 | | info["debug_scripts"] = ["/js/%s/%s" % (name.lower(), os.path.basename(s)) for s in info["debug_scripts"]] |
| 149 | info["scripts"] = ["js/%s/%s" % (name.lower(), os.path.basename(s)) for s in info["scripts"]] |
| 150 | info["debug_scripts"] = ["js/%s/%s" % (name.lower(), os.path.basename(s)) for s in info["debug_scripts"]] |
151 | 151 | del info["script_directories"] |
152 | 152 | return info |