Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-01-15 10:53:25 -0500
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-01-15 10:53:25 -0500
commit5f3ad6dbf165bb7ac779339f5db21ad742bf4d98 (patch)
tree41190865b4797c7346ea0ee6dddfd58ef40f3822
parent87c4cf50d2c93cde75e6e83298e04e557cc60c1c (diff)
downloadliza-5f3ad6dbf165bb7ac779339f5db21ad742bf4d98.tar.gz
liza-5f3ad6dbf165bb7ac779339f5db21ad742bf4d98.tar.bz2
liza-5f3ad6dbf165bb7ac779339f5db21ad742bf4d98.zip
client/debug: Append null to bucket editor field change diff
This is necessary to truncate on index removal; otherwise, it's not possible to remove indexes through the editor. * src/client/debug/BucketClientDebugTab.js (_getStagingButtons): Append null on value change.
-rw-r--r--src/client/debug/BucketClientDebugTab.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/debug/BucketClientDebugTab.js b/src/client/debug/BucketClientDebugTab.js
index 5319689..13f8322 100644
--- a/src/client/debug/BucketClientDebugTab.js
+++ b/src/client/debug/BucketClientDebugTab.js
@@ -1,7 +1,7 @@
/**
* Contains BucketClientDebugTab class
*
- * Copyright (C) 2017 R-T Specialty, LLC.
+ * Copyright (C) 2017, 2018 R-T Specialty, LLC.
*
* This file is part of the Liza Data Collection Framework
*
@@ -199,6 +199,7 @@ module.exports = Class( 'BucketClientDebugTab' )
{
var data = {};
data[ name ] = value;
+ data[ name ].push( null );
// set the data
staging.setValues( data );