Web API: rename 'json' scope to 'query'

This commit is contained in:
buinsky
2015-01-23 01:37:12 +03:00
parent 574c57ee18
commit b30ec46048
6 changed files with 22 additions and 22 deletions

View File

@@ -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,

View File

@@ -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,

View File

@@ -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,