mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Ensure tab property changes are listed in diff view
This commit is contained in:
parent
0f93929544
commit
d4d87054c4
@ -573,6 +573,7 @@ RED.diff = (function() {
|
||||
var nodePropertiesTable = $("<table>").appendTo(nodePropertiesDiv);
|
||||
var row;
|
||||
var localCell, remoteCell;
|
||||
var element;
|
||||
var currentValue, localValue, remoteValue;
|
||||
var localChanged = false;
|
||||
var remoteChanged = false;
|
||||
@ -1073,7 +1074,7 @@ RED.diff = (function() {
|
||||
var tab = currentConfig.tabs[tabId];
|
||||
var el = {
|
||||
diff: localDiff,
|
||||
def: {},
|
||||
def: RED.nodes.getType('tab'),
|
||||
tab:tab
|
||||
};
|
||||
if (newConfig.tabs.hasOwnProperty(tabId)) {
|
||||
@ -1092,7 +1093,7 @@ RED.diff = (function() {
|
||||
var tab = newConfig.tabs[tabId];
|
||||
var el = {
|
||||
diff: localDiff,
|
||||
def: {},
|
||||
def: RED.nodes.getType('tab'),
|
||||
tab:tab,
|
||||
newTab: tab
|
||||
};
|
||||
@ -1110,7 +1111,7 @@ RED.diff = (function() {
|
||||
var el = {
|
||||
diff: localDiff,
|
||||
remoteDiff: remoteDiff,
|
||||
def: {},
|
||||
def: RED.nodes.getType('tab'),
|
||||
tab:tab,
|
||||
remoteTab:tab
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user