1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
This commit is contained in:
Nicholas O'Leary 2013-09-06 21:03:51 +01:00
parent b8f82fd9ae
commit 3255ae4187
2 changed files with 3 additions and 3 deletions

View File

@ -74,13 +74,13 @@
if (err.status == 404) {
RED.notify("<strong>Error</strong>: inject node not deployed","error");
} else {
RED.notify("<strong>Error</strong>: "+err.response,"error");
RED.notify("<strong>Error</strong>: no response from server","error");
}
} else if (resp.status == 200) {
RED.notify("Successfully injected: "+label,"success");
} else {
if (resp) {
RED.notify("<strong>Error</strong>: "+resp,"error");
RED.notify("<strong>Error</strong>: unexpected response:"+resp,"error");
} else {
RED.notify("<strong>Error</strong>: no response from server","error");
}

View File

@ -81,7 +81,7 @@
RED.view.redraw();
} else {
if (resp) {
RED.notify("<strong>Error</strong>: unexpected response : "+resp,"error");
RED.notify("<strong>Error</strong>: unexpected response: "+resp,"error");
} else {
RED.notify("<strong>Error</strong>: no response from server","error");
}