Web UI: Stop using absolute URLs in ajax requests (closes #1011226)

This commit is contained in:
Christophe Dumez
2012-06-10 20:15:57 +03:00
parent 80dd666107
commit 82af132d8a
10 changed files with 24 additions and 24 deletions

View File

@@ -88,7 +88,7 @@ var allCBUnchecked = function() {
var setFilePriority = function(id, priority) {
if(current_hash == "") return;
new Request({url: '/command/setFilePrio', method: 'post', data: {'hash': current_hash, 'id': id, 'priority': priority}}).send();
new Request({url: 'command/setFilePrio', method: 'post', data: {'hash': current_hash, 'id': id, 'priority': priority}}).send();
// Display or add combobox
if(priority > 0) {
$('comboPrio'+id).set("value", 1);