@fluxhub/fluxhub-lib 10.0.706 → 10.0.708
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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +10 -1
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +11 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +10 -1
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine_v2/wkfdatiaggiuntivi.d.ts +1 -0
- package/package.json +1 -1
|
@@ -23008,6 +23008,8 @@
|
|
|
23008
23008
|
};
|
|
23009
23009
|
dati_aggiuntivi_v2.prototype.salva = function () {
|
|
23010
23010
|
var _this = this;
|
|
23011
|
+
if (!this.can_save())
|
|
23012
|
+
return;
|
|
23011
23013
|
if (this.save_alreadypressed)
|
|
23012
23014
|
return;
|
|
23013
23015
|
this.save_alreadypressed = true;
|
|
@@ -23642,7 +23644,7 @@
|
|
|
23642
23644
|
})];
|
|
23643
23645
|
else
|
|
23644
23646
|
p.values = [uiid_op, JSON.stringify({
|
|
23645
|
-
transizione: { uiid_wkf: trans.uiid_wkf, uiid: trans.uiid, step_d: trans.step_d },
|
|
23647
|
+
transizione: { uiid_wkf: trans.uiid_wkf, uiid: trans.uiid, step_d: trans.step_d, step_o: trans.step_o },
|
|
23646
23648
|
commento: comm,
|
|
23647
23649
|
id_applicazione: this.id_applicativo,
|
|
23648
23650
|
id_documento: this.id_documento,
|
|
@@ -23807,12 +23809,16 @@
|
|
|
23807
23809
|
});
|
|
23808
23810
|
};
|
|
23809
23811
|
dati_aggiuntivi_v2.prototype.respingi = function () {
|
|
23812
|
+
if (!this.can_save())
|
|
23813
|
+
return;
|
|
23810
23814
|
this.oper = "respingi";
|
|
23811
23815
|
this.btnprocedi = true;
|
|
23812
23816
|
this.update_status(false, false, null, null, 8);
|
|
23813
23817
|
this.salva();
|
|
23814
23818
|
};
|
|
23815
23819
|
dati_aggiuntivi_v2.prototype.procedi = function () {
|
|
23820
|
+
if (!this.can_save())
|
|
23821
|
+
return;
|
|
23816
23822
|
this.oper = "procedi";
|
|
23817
23823
|
this.btnprocedi = true;
|
|
23818
23824
|
this.update_status(false, false, null, null, 9);
|
|
@@ -23940,6 +23946,9 @@
|
|
|
23940
23946
|
}
|
|
23941
23947
|
});
|
|
23942
23948
|
};
|
|
23949
|
+
dati_aggiuntivi_v2.prototype.can_save = function () {
|
|
23950
|
+
return true;
|
|
23951
|
+
};
|
|
23943
23952
|
dati_aggiuntivi_v2.prototype.save_agg = function () {
|
|
23944
23953
|
var _this = this;
|
|
23945
23954
|
this.before_save();
|