|
@@ -156,7 +156,7 @@ ARKIWI.Arkiwi.prototype.close = function (callback) {
|
|
|
ARKIWI.Arkiwi.prototype.path = function (path, callback, notBase64) {
|
|
|
var pathType = notBase64 ? 'path' : 'path64';
|
|
|
|
|
|
- $.getJSON(this.aggregator + '/' + pathType + '/' + path + '/jsonml/?' + this.defaultParameters, function (result) {
|
|
|
+ $.getJSON(this.aggregator + '/' + pathType + '/' + path + '/json/?' + this.defaultParameters, function (result) {
|
|
|
if (callback != undefined)
|
|
|
callback(result);
|
|
|
}).fail(function (error) {
|
|
@@ -173,7 +173,7 @@ ARKIWI.Arkiwi.prototype.search = function (query, callback, jailFolder) {
|
|
|
|
|
|
sanitizedQuery = window.btoa(sanitizedQuery); //convert to Base64
|
|
|
|
|
|
- $.getJSON(this.aggregator + '/search64/' + sanitizedQuery + '/jsonml/?' + this.defaultParameters, function (result) {
|
|
|
+ $.getJSON(this.aggregator + '/search64/' + sanitizedQuery + '/json/?' + this.defaultParameters, function (result) {
|
|
|
if (callback != undefined)
|
|
|
callback(result);
|
|
|
}).fail(function (error) {
|