CLOUDSTACK-3528: [UI] Fix list calls on accounts page

Fix List calls in the processing state forever with invalid name
provided with Account name search filter -Added error handling for
Events, Instances, Network, Projects, Storage pages where an advanced
search by an invalid account name was making the UI to show in progress
state forever.
This commit is contained in:
Gabor Apati-Nagy 2014-11-07 14:16:28 +00:00 committed by Brian Federle
parent 6ac082b9d0
commit 46e0a25069
5 changed files with 42 additions and 6 deletions

View File

@ -343,7 +343,13 @@
args.response.success({
data: items
});
}
},
error: function(XMLHttpResponse) {
cloudStack.dialog.notice({
message: parseXMLHttpResponse(XMLHttpResponse)
});
args.response.error();
}
});
},
detailView: {

View File

@ -355,7 +355,13 @@
args.response.success({
data: items
});
}
},
error: function(XMLHttpResponse) {
cloudStack.dialog.notice({
message: parseXMLHttpResponse(XMLHttpResponse)
});
args.response.error();
}
});
},

View File

@ -5294,7 +5294,13 @@
args.response.success({
data: items
});
}
},
error: function(XMLHttpResponse) {
cloudStack.dialog.notice({
message: parseXMLHttpResponse(XMLHttpResponse)
});
args.response.error();
}
});
},
actions: {

View File

@ -784,7 +784,13 @@
data: data.listprojectsresponse.project,
actionFilter: projectsActionFilter
});
}
},
error: function(XMLHttpResponse) {
cloudStack.dialog.notice({
message: parseXMLHttpResponse(XMLHttpResponse)
});
args.response.error();
}
});
},

View File

@ -489,7 +489,13 @@
actionFilter: volumeActionfilter,
data: items
});
}
},
error: function(XMLHttpResponse) {
cloudStack.dialog.notice({
message: parseXMLHttpResponse(XMLHttpResponse)
});
args.response.error();
}
});
},
@ -1676,7 +1682,13 @@
actionFilter: snapshotActionfilter,
data: items
});
}
},
error: function(XMLHttpResponse) {
cloudStack.dialog.notice({
message: parseXMLHttpResponse(XMLHttpResponse)
});
args.response.error();
}
});
},