@fluxhub/fluxhub-lib 10.0.484 → 10.0.485
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 +8 -2
- 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/wkfdatiaggiuntivi.js +5 -2
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +5 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +8 -2
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine/wkfdatiaggiuntivi.d.ts +1 -0
- package/lib/wkf_engine_v2/wkfdatiaggiuntivi.d.ts +1 -0
- package/package.json +1 -1
|
@@ -17814,7 +17814,9 @@
|
|
|
17814
17814
|
};
|
|
17815
17815
|
dati_aggiuntivi.prototype.back = function (edit_button) {
|
|
17816
17816
|
var _this = this;
|
|
17817
|
-
|
|
17817
|
+
var arrx = this.uti_s.get_diff_doc(this.old_doc, this.m_obj);
|
|
17818
|
+
console.log('arrx ', arrx);
|
|
17819
|
+
if (!edit_button || arrx.length == 0)
|
|
17818
17820
|
this.m_router.navigate([this.app_info.modulo_swf]);
|
|
17819
17821
|
else {
|
|
17820
17822
|
var dialogRef = this.m_dialog.open(win_salva_annulla, {
|
|
@@ -18601,6 +18603,7 @@
|
|
|
18601
18603
|
dati_aggiuntivi.prototype.ok_load_document = function (o) {
|
|
18602
18604
|
var _this = this;
|
|
18603
18605
|
this.m_obj = (JSON.parse(JSON.stringify(o)));
|
|
18606
|
+
this.old_doc = (JSON.parse(JSON.stringify(o)));
|
|
18604
18607
|
this.edit_b(false, false);
|
|
18605
18608
|
this.save_to_app_state();
|
|
18606
18609
|
var p = new QParam();
|
|
@@ -20790,7 +20793,9 @@
|
|
|
20790
20793
|
};
|
|
20791
20794
|
dati_aggiuntivi_v2.prototype.back = function (edit_button) {
|
|
20792
20795
|
var _this = this;
|
|
20793
|
-
|
|
20796
|
+
var arrx = this.uti_s.get_diff_doc(this.old_doc, this.m_obj);
|
|
20797
|
+
console.log('arrx ', arrx);
|
|
20798
|
+
if (!edit_button || arrx.length == 0)
|
|
20794
20799
|
this.m_router.navigate([this.app_info.modulo_swf]);
|
|
20795
20800
|
else {
|
|
20796
20801
|
var dialogRef = this.m_dialog.open(win_salva_annulla_v2, {
|
|
@@ -21142,6 +21147,7 @@
|
|
|
21142
21147
|
dati_aggiuntivi_v2.prototype.ok_load_document = function (o) {
|
|
21143
21148
|
var _this = this;
|
|
21144
21149
|
this.m_obj = (JSON.parse(JSON.stringify(o)));
|
|
21150
|
+
this.old_doc = (JSON.parse(JSON.stringify(o)));
|
|
21145
21151
|
this.edit_b(false);
|
|
21146
21152
|
this.save_to_app_state();
|
|
21147
21153
|
var p = new QParam();
|