projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1801 from dibdot/adblock
[project/luci.git]
/
applications
/
luci-app-commands
/
luasrc
/
view
/
commands.htm
diff --git
a/applications/luci-app-commands/luasrc/view/commands.htm
b/applications/luci-app-commands/luasrc/view/commands.htm
index
3b36155
..
4285f25
100644
(file)
--- a/
applications/luci-app-commands/luasrc/view/commands.htm
+++ b/
applications/luci-app-commands/luasrc/view/commands.htm
@@
-108,9
+108,7
@@
if (legend && output)
{
if (legend && output)
{
- var prefix = location.protocol + '//' + location.hostname +
- (location.port ? ':' + location.port : '') +
- location.pathname.split(';')[0] + 'command/';
+ var prefix = location.protocol + '//' + location.host + '<%=url('command')%>/';
var suffix = (args ? '/' + args : '');
var link = prefix + id + suffix;
var suffix = (args ? '/' + args : '');
var link = prefix + id + suffix;