@fluxhub/fluxhub-lib 10.0.633 → 10.0.635

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2339,10 +2339,13 @@
2339
2339
  this.value_list_sel = new Array();
2340
2340
  this.types = [];
2341
2341
  this.values = [];
2342
+ this.value_list_all = [];
2342
2343
  this.value_sel = [];
2343
2344
  if (data != null) {
2344
- if (data.value_list != null)
2345
+ if (data.value_list != null) {
2345
2346
  this.value_list = data.value_list;
2347
+ this.value_list_all = JSON.parse(JSON.stringify(data.value_list));
2348
+ }
2346
2349
  if (data.single_sel != null)
2347
2350
  this.single_sel = data.single_sel;
2348
2351
  if (data.vis_buttons != null)
@@ -2356,17 +2359,15 @@
2356
2359
  }
2357
2360
  fh_win_picklist.prototype.ngAfterViewInit = function () { };
2358
2361
  fh_win_picklist.prototype.add_all = function () {
2359
- for (var index = 0; index < this.value_list.length; index++) {
2360
- this.value_sel.push(this.value_list[index]);
2362
+ for (var index = 0; index < this.value_list_sel.length; index++) {
2363
+ this.value_sel.push(this.value_list_sel[index]);
2361
2364
  }
2362
2365
  this.value_list = [];
2363
2366
  this.selectedAdd = null;
2364
2367
  this.filtra();
2365
2368
  };
2366
2369
  fh_win_picklist.prototype.rem_all = function () {
2367
- for (var index = 0; index < this.value_sel.length; index++) {
2368
- this.value_list.push(this.value_sel[index]);
2369
- }
2370
+ this.value_list = JSON.parse(JSON.stringify(this.value_list_all));
2370
2371
  this.value_sel = [];
2371
2372
  this.selectedAdd = null;
2372
2373
  this.filtra();