Commit 20369b89 authored by Ad Schellevis's avatar Ad Schellevis

add extra javascript file for user interface functions

parent b224831e
...@@ -106,7 +106,7 @@ function ajaxCall(url,sendData,callback) { ...@@ -106,7 +106,7 @@ function ajaxCall(url,sendData,callback) {
} else if ( "responseJSON" in data ) { } else if ( "responseJSON" in data ) {
callback(data['responseJSON'],status); callback(data['responseJSON'],status);
} else { } else {
callback({},status); callback(data,status);
} }
}, },
data:sendData data:sendData
...@@ -136,3 +136,5 @@ function ajaxGet(url,sendData,callback) { ...@@ -136,3 +136,5 @@ function ajaxGet(url,sendData,callback) {
data:sendData data:sendData
}); });
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment