ShowError method
Closed this issue · 1 comments
Rizwan-Qamar commented
showError method is not consistent. In some controllers, it takes data as the first parameter and in some status. ShowError method is not working at many places because of the mismatch.
error(function (data, status) {
console.error('STATUS: ' + status + ' DATA: ' + data);
showError(status, JSON.stringify(data));
});
SORMAS-ZohaibHassan commented
Resolved:
7fe90b5