@fluxhub/fluxhub-lib 1.0.443 → 1.0.444

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.
@@ -12700,6 +12700,7 @@
12700
12700
  this.b_edit_loaded = false;
12701
12701
  this.title = "ALLEGATI";
12702
12702
  this.b_ini = false;
12703
+ this.sovrascrivi_path = '';
12703
12704
  this.single = true;
12704
12705
  this.descrizione = '';
12705
12706
  this.label = 'Descrizione Allegato';
@@ -12748,9 +12749,10 @@
12748
12749
  */
12749
12750
  function (ax) {
12750
12751
  if (ax.App != null)
12751
- window.open(this.app_s.COMPANY_SITE_ROOT + '/uploads/' + ax.App + '/' + ax.K + '/' + ax.Filename);
12752
- if (ax.APP != null)
12753
- window.open(this.app_s.COMPANY_SITE_ROOT + '/uploads/' + ax.APP + '/' + ax.K + '/' + ax.Filename);
12752
+ if (this.sovrascrivi_path == '')
12753
+ window.open(this.app_s.COMPANY_SITE_ROOT + '/uploads/' + ax.App + '/' + ax.K + '/' + ax.Filename);
12754
+ else
12755
+ window.open(this.sovrascrivi_path + '/uploads/' + ax.App + '/' + ax.K + '/' + ax.Filename);
12754
12756
  };
12755
12757
  /**
12756
12758
  * @param {?} ax
@@ -16598,15 +16600,19 @@
16598
16600
  }));
16599
16601
  };
16600
16602
  /**
16603
+ * @param {?=} sovra_path
16601
16604
  * @return {?}
16602
16605
  */
16603
16606
  dati_aggiuntivi.prototype.open_upload = /**
16607
+ * @param {?=} sovra_path
16604
16608
  * @return {?}
16605
16609
  */
16606
- function () {
16610
+ function (sovra_path) {
16607
16611
  var _this = this;
16612
+ if (sovra_path === void 0) { sovra_path = ''; }
16608
16613
  /** @type {?} */
16609
16614
  var dialogRef = this.m_dialog.open(win_uploads, { 'disableClose': true, width: "90%", height: (this.app_s.getState().body_h - 300) + 'px' });
16615
+ dialogRef.componentInstance.sovrascrivi_path = sovra_path;
16610
16616
  dialogRef.afterClosed().subscribe((/**
16611
16617
  * @param {?} result
16612
16618
  * @return {?}