Issue #11 - only show error code on Alert toaster (rather than full error)

This commit is contained in:
Dave C-J 2013-09-07 11:26:22 +01:00
parent 38d309dcf3
commit 07ff9aa061
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@
RED.notify("Successfully injected: "+label,"success");
} else {
if (resp) {
RED.notify("<strong>Error</strong>: unexpected response:"+resp,"error");
RED.notify("<strong>Error</strong>: unexpected response: RC "+resp.status+"<br/>See console log for details."error");
} else {
RED.notify("<strong>Error</strong>: no response from server","error");
}