diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-06-28 20:13:39 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-06-28 20:13:39 +0200 |
commit | 1a040c3e2252d2d0f47d0181724bfaee0bc3fd7a (patch) | |
tree | f51c9522203993b1ab7339053610cb2957375de4 /module | |
parent | Call initPeriodical after setup in Hook.py (diff) | |
download | pyload-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.js | 2 |
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} ".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> ".substitute({"plugin": link.plugin}); |