@fluxhub/fluxhub-lib 10.0.707 → 10.0.709
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 +7 -0
- 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 +8 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +7 -0
- 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
|
@@ -24414,6 +24414,8 @@ class dati_aggiuntivi_v2 {
|
|
|
24414
24414
|
this.m_dataService.doQuery(p).subscribe();
|
|
24415
24415
|
}
|
|
24416
24416
|
salva() {
|
|
24417
|
+
if (!this.can_save())
|
|
24418
|
+
return;
|
|
24417
24419
|
if (this.save_alreadypressed)
|
|
24418
24420
|
return;
|
|
24419
24421
|
this.save_alreadypressed = true;
|
|
@@ -25201,12 +25203,16 @@ class dati_aggiuntivi_v2 {
|
|
|
25201
25203
|
});
|
|
25202
25204
|
}
|
|
25203
25205
|
respingi() {
|
|
25206
|
+
if (!this.can_save())
|
|
25207
|
+
return;
|
|
25204
25208
|
this.oper = "respingi";
|
|
25205
25209
|
this.btnprocedi = true;
|
|
25206
25210
|
this.update_status(false, false, null, null, 8);
|
|
25207
25211
|
this.salva();
|
|
25208
25212
|
}
|
|
25209
25213
|
procedi() {
|
|
25214
|
+
if (!this.can_save())
|
|
25215
|
+
return;
|
|
25210
25216
|
this.oper = "procedi";
|
|
25211
25217
|
this.btnprocedi = true;
|
|
25212
25218
|
this.update_status(false, false, null, null, 9);
|
|
@@ -25974,6 +25980,7 @@ class dati_aggiuntivi_v2 {
|
|
|
25974
25980
|
}
|
|
25975
25981
|
after_save() { }
|
|
25976
25982
|
before_save() { }
|
|
25983
|
+
can_save() { return true; }
|
|
25977
25984
|
edit_doc() {
|
|
25978
25985
|
this.load_document();
|
|
25979
25986
|
}
|