mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Tidy up ajax usage
This commit is contained in:
parent
b6fd103b37
commit
b5a8a7288b
@ -98,9 +98,6 @@ var RED = function() {
|
||||
RED.view.redraw();
|
||||
}).fail(function(xhr,textStatus,err) {
|
||||
RED.view.dirty(true);
|
||||
console.log(xhr);
|
||||
console.log(textStatus);
|
||||
console.log(err);
|
||||
if (xhr.responseText) {
|
||||
RED.notify("<strong>Error</strong>: "+xhr.responseText,"error");
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user