reneco-hierarchized-picker 0.3.2-beta.7 → 0.3.2-beta.8

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.
@@ -231,9 +231,7 @@ Tree.prototype.bindEvent = function (ele) {
231
231
  if (this.options.parentApi.theOptions.origin == 'classification') {
232
232
  // WS Call
233
233
  this.options.parentApi
234
- .getDataFromSourceClassification(this.options.parentApi.theOptions.url, {
235
- startNode: target.parentNode.nodeId
236
- })
234
+ .getDataFromSourceClassification(this.options.parentApi.theOptions.url, Object.assign({ startNode: target.parentNode.nodeId }, this.options.parentApi.theOptions))
237
235
  .then(data => {
238
236
  this.options.parentApi.completeCurrentTreeWithTree(data);
239
237
  });
@@ -199,9 +199,7 @@ Tree.prototype.bindEvent = function (ele) {
199
199
  if (this.options.parentApi.theOptions.origin == 'classification') {
200
200
  // WS Call
201
201
  this.options.parentApi
202
- .getDataFromSourceClassification(this.options.parentApi.theOptions.url, {
203
- startNode: target.parentNode.nodeId
204
- })
202
+ .getDataFromSourceClassification(this.options.parentApi.theOptions.url, Object.assign({ startNode: target.parentNode.nodeId }, this.options.parentApi.theOptions))
205
203
  .then(data => {
206
204
  this.options.parentApi.completeCurrentTreeWithTree(data);
207
205
  });
@@ -228,9 +228,7 @@ Tree.prototype.bindEvent = function (ele) {
228
228
  if (this.options.parentApi.theOptions.origin == 'classification') {
229
229
  // WS Call
230
230
  this.options.parentApi
231
- .getDataFromSourceClassification(this.options.parentApi.theOptions.url, {
232
- startNode: target.parentNode.nodeId
233
- })
231
+ .getDataFromSourceClassification(this.options.parentApi.theOptions.url, Object.assign({ startNode: target.parentNode.nodeId }, this.options.parentApi.theOptions))
234
232
  .then(data => {
235
233
  this.options.parentApi.completeCurrentTreeWithTree(data);
236
234
  });
@@ -227,9 +227,7 @@ Tree.prototype.bindEvent = function (ele) {
227
227
  if (this.options.parentApi.theOptions.origin == 'classification') {
228
228
  // WS Call
229
229
  this.options.parentApi
230
- .getDataFromSourceClassification(this.options.parentApi.theOptions.url, {
231
- startNode: target.parentNode.nodeId
232
- })
230
+ .getDataFromSourceClassification(this.options.parentApi.theOptions.url, Object.assign({ startNode: target.parentNode.nodeId }, this.options.parentApi.theOptions))
233
231
  .then(data => {
234
232
  this.options.parentApi.completeCurrentTreeWithTree(data);
235
233
  });