Don't treat new raw_tag_editor rows the same as deleted rows

(closes #6369)
This commit is contained in:
Bryan Housel
2019-05-16 15:36:47 -04:00
parent 0ecf7c4d98
commit aa7820b699
+2 -2
View File
@@ -457,7 +457,7 @@ export function uiRawTagEditor(context) {
_pendingChange = _pendingChange || {};
// exit if we are currently about to delete this row anyway - #6366
if (_pendingChange[kOld] === undefined) return;
if (_pendingChange.hasOwnProperty(d.key) && _pendingChange[d.key] === undefined) return;
if (kOld) {
_pendingChange[kOld] = undefined;
@@ -480,7 +480,7 @@ export function uiRawTagEditor(context) {
_pendingChange = _pendingChange || {};
// exit if we are currently about to delete this row anyway - #6366
if (_pendingChange[d.key] === undefined) return;
if (_pendingChange.hasOwnProperty(d.key) && _pendingChange[d.key] === undefined) return;
_pendingChange[d.key] = this.value;
scheduleChange();