@fluxhub/fluxhub-lib 10.0.727 → 10.0.728

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.
@@ -21930,6 +21930,7 @@
21930
21930
  this.grid_key = "";
21931
21931
  this.m_id_Doc = "";
21932
21932
  this.title = "";
21933
+ this.override_insert = false;
21933
21934
  this.user_nome = "";
21934
21935
  this.user_cognome = "";
21935
21936
  this.user_email = "";
@@ -22917,11 +22918,15 @@
22917
22918
  }
22918
22919
  }
22919
22920
  };
22921
+ wkfapp_v2.prototype.do_custom_insert = function () { };
22920
22922
  wkfapp_v2.prototype.goto_models = function () {
22921
22923
  this.m_router.navigate([this.app_root, "models"]);
22922
22924
  };
22923
22925
  wkfapp_v2.prototype.insert_doc = function () {
22924
- this.m_router.navigate([this.app_root, this.id_applicativo, "new"]);
22926
+ if (!this.override_insert)
22927
+ this.m_router.navigate([this.app_root, this.id_applicativo, "new"]);
22928
+ else
22929
+ this.do_custom_insert();
22925
22930
  };
22926
22931
  wkfapp_v2.prototype.ripristina_imp = function () {
22927
22932
  if (localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user') == null)