summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-06-28 20:13:39 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-06-28 20:13:39 +0200
commit1a040c3e2252d2d0f47d0181724bfaee0bc3fd7a (patch)
treef51c9522203993b1ab7339053610cb2957375de4 /module
parentCall initPeriodical after setup in Hook.py (diff)
downloadpyload-1a040c3e2252d2d0f47d0181724bfaee0bc3fd7a.tar.xz
[Webui] List item redirect to its pyfile url if clicked (thx gaberad)
Diffstat (limited to 'module')
-rw-r--r--module/web/media/js/package_ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/web/media/js/package_ui.js b/module/web/media/js/package_ui.js
index 8b4df7927..d5021f4ef 100644
--- a/module/web/media/js/package_ui.js
+++ b/module/web/media/js/package_ui.js
@@ -199,7 +199,7 @@ var Package = new Class({
});
var html = "<span style='cursor: move' class='child_status sorthandle'><img src='/media/default/img/{icon}' style='width: 12px; height:12px;'/></span>\n".substitute({"icon": link.icon});
- html += "<span style='font-size: 15px'>{name}</span><br /><div class='child_secrow'>".substitute({"name": link.name});
+ html += "<span style='font-size: 15px'><a href=\"{url}\" target=\"_blank\">{name}</a></span><br /><div class='child_secrow'>".substitute({"url": link.url, "name": link.name});
html += "<span class='child_status'>{statusmsg}</span>{error}&nbsp;".substitute({"statusmsg": link.statusmsg, "error":link.error});
html += "<span class='child_status'>{format_size}</span>".substitute({"format_size": link.format_size});
html += "<span class='child_status'>{plugin}</span>&nbsp;&nbsp;".substitute({"plugin": link.plugin});