diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-01-20 19:41:43 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-01-20 19:41:43 +0100 |
commit | 07f280a220ab5bc5c3fb510ea00aecedfcec7564 (patch) | |
tree | 0a902013984fa8aee01ce162e437ee2dfd988e84 /module/web/templates/default/base.html | |
parent | webinterface - status icons (diff) | |
download | pyload-07f280a220ab5bc5c3fb510ea00aecedfcec7564.tar.xz |
queue page fully functional, some fixes
Diffstat (limited to 'module/web/templates/default/base.html')
-rw-r--r-- | module/web/templates/default/base.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index 692a951bc..2a2490088 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -36,7 +36,7 @@ document.addEvent("domready", function(){ });
var jsonStatus = new Request.JSON({
- url: "json/status",
+ url: "/json/status",
onSuccess: LoadJsonToContent,
secure: false,
async: true,
@@ -46,17 +46,17 @@ document.addEvent("domready", function(){ })
$('action_play').addEvent('click', function(){
- new Request({method: 'get', url: 'json/unpause'}).send();
+ new Request({method: 'get', url: '/json/unpause'}).send();
});
$('action_cancel').addEvent('click', function(){
- new Request({method: 'get', url: 'json/cancel'}).send();
+ new Request({method: 'get', url: '/json/cancel'}).send();
});
$('action_stop').addEvent('click', function(){
- new Request({method: 'get', url: 'json/pause'}).send();
+ new Request({method: 'get', url: '/json/pause'}).send();
});
jsonStatus.startTimer();
|