1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Reset palette-manager tabs when settings dialog reopened

This commit is contained in:
Nick O'Leary 2017-06-27 14:17:26 +01:00
parent c9317659c5
commit 83ebcf1dae
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -530,7 +530,7 @@ RED.palette.editor = (function() {
editorTabs = RED.tabs.create({ editorTabs = RED.tabs.create({
element: settingsPane.find('#palette-editor-tabs'), element: settingsPane.find('#palette-editor-tabs'),
onchange:function(tab) { onchange:function(tab) {
$("#palette-editor .palette-editor-tab").hide(); content.find(".palette-editor-tab").hide();
tab.content.show(); tab.content.show();
if (filterInput) { if (filterInput) {
filterInput.searchBox('value',""); filterInput.searchBox('value',"");