mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Clear debug message when switching projects (#1523)
* Clear debug sidebar when switching project * Delete a unnecessary comment * Clear any filters the users has enabled * Clear filter settings only when the user opens a project
This commit is contained in:
committed by
Nick O'Leary
parent
5a6cde1446
commit
207d3d3340
@@ -910,7 +910,9 @@ RED.projects = (function() {
|
||||
}
|
||||
}
|
||||
}
|
||||
},projectData).always(function() {
|
||||
},projectData).then(function() {
|
||||
RED.events.emit("project:change", {name:name});
|
||||
}).always(function() {
|
||||
RED.deploy.setDeployInflight(false);
|
||||
})
|
||||
|
||||
@@ -1075,7 +1077,9 @@ RED.projects = (function() {
|
||||
}
|
||||
},
|
||||
}
|
||||
},{active:true}).always(function() {
|
||||
},{active:true}).then(function() {
|
||||
RED.events.emit("project:change", {name:name});
|
||||
}).always(function() {
|
||||
RED.deploy.setDeployInflight(false);
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user