Skip to content
Snippets Groups Projects
Commit 871a0a8c authored by Mike Hodge's avatar Mike Hodge
Browse files

Fix issue where uploader not configured after configured resource setup

parent b60566b9
No related branches found
No related tags found
No related merge requests found
......@@ -181,7 +181,7 @@ XNAT.app.pResources={
dataType: 'json'
});
getUploadConfigAjax.done( function( data, textStatus, jqXHR ) {
if (typeof(data)!=undefined && $.isArray(data) && data.length>0) {
if (typeof(data)!=undefined && $.isArray(data)) {
var uploaderConfig = data;
var alreadyConfig = false;
var NEW_HANDLER = "Uploaded " + props.name;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment