Prevent empty AJAX response message from appearing

This commit is contained in:
Flavio Copes
2015-11-06 13:23:24 +01:00
parent 1a6e400324
commit d448b3bdce

View File

@@ -283,6 +283,10 @@ $(function () {
data: data,
toastErrors: true,
success: function (response) {
if (!response) {
return;
}
var grav = response.payload.grav,
installed = response.payload.installed,
resources = response.payload.resources,