mirror of https://github.com/apache/cloudstack.git
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:
parent
6ac082b9d0
commit
46e0a25069
|
|
@ -343,7 +343,13 @@
|
|||
args.response.success({
|
||||
data: items
|
||||
});
|
||||
}
|
||||
},
|
||||
error: function(XMLHttpResponse) {
|
||||
cloudStack.dialog.notice({
|
||||
message: parseXMLHttpResponse(XMLHttpResponse)
|
||||
});
|
||||
args.response.error();
|
||||
}
|
||||
});
|
||||
},
|
||||
detailView: {
|
||||
|
|
|
|||
|
|
@ -355,7 +355,13 @@
|
|||
args.response.success({
|
||||
data: items
|
||||
});
|
||||
}
|
||||
},
|
||||
error: function(XMLHttpResponse) {
|
||||
cloudStack.dialog.notice({
|
||||
message: parseXMLHttpResponse(XMLHttpResponse)
|
||||
});
|
||||
args.response.error();
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -5294,7 +5294,13 @@
|
|||
args.response.success({
|
||||
data: items
|
||||
});
|
||||
}
|
||||
},
|
||||
error: function(XMLHttpResponse) {
|
||||
cloudStack.dialog.notice({
|
||||
message: parseXMLHttpResponse(XMLHttpResponse)
|
||||
});
|
||||
args.response.error();
|
||||
}
|
||||
});
|
||||
},
|
||||
actions: {
|
||||
|
|
|
|||
|
|
@ -784,7 +784,13 @@
|
|||
data: data.listprojectsresponse.project,
|
||||
actionFilter: projectsActionFilter
|
||||
});
|
||||
}
|
||||
},
|
||||
error: function(XMLHttpResponse) {
|
||||
cloudStack.dialog.notice({
|
||||
message: parseXMLHttpResponse(XMLHttpResponse)
|
||||
});
|
||||
args.response.error();
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue