mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Fixes #10
This commit is contained in:
		| @@ -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"); | ||||
|                             } | ||||
|   | ||||
| @@ -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"); | ||||
|                             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user