mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 22:22:33 -06:00
Merge pull request #2445 from buinsky/WebUI3
Web API: rename 'json' scope to 'query'
This commit is contained in:
@@ -636,7 +636,7 @@ time_padding = function(val) {
|
||||
}
|
||||
|
||||
loadPreferences = function() {
|
||||
var url = 'json/preferences';
|
||||
var url = 'query/preferences';
|
||||
var request = new Request.JSON({
|
||||
url: url,
|
||||
method: 'get',
|
||||
|
||||
@@ -289,7 +289,7 @@ var loadTorrentFilesData = function() {
|
||||
fTable.removeAllRows();
|
||||
current_hash = new_hash;
|
||||
}
|
||||
var url = 'json/propertiesFiles/' + current_hash;
|
||||
var url = 'query/propertiesFiles/' + current_hash;
|
||||
var request = new Request.JSON({
|
||||
url: url,
|
||||
noCache: true,
|
||||
|
||||
@@ -29,7 +29,7 @@ var loadTorrentData = function() {
|
||||
}
|
||||
// Display hash
|
||||
$('torrent_hash').set('html', current_hash);
|
||||
var url = 'json/propertiesGeneral/' + current_hash;
|
||||
var url = 'query/propertiesGeneral/' + current_hash;
|
||||
var request = new Request.JSON({
|
||||
url: url,
|
||||
noCache: true,
|
||||
|
||||
@@ -69,7 +69,7 @@ var loadTrackersData = function() {
|
||||
tTable.removeAllRows();
|
||||
current_hash = new_hash;
|
||||
}
|
||||
var url = 'json/propertiesTrackers/' + current_hash;
|
||||
var url = 'query/propertiesTrackers/' + current_hash;
|
||||
var request = new Request.JSON({
|
||||
url: url,
|
||||
noCache: true,
|
||||
|
||||
Reference in New Issue
Block a user