sdc_client 0.4.13 → 0.4.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sdc_client",
3
- "version": "0.4.13",
3
+ "version": "0.4.14",
4
4
  "description": "Simple Dom Control",
5
5
  "main": "dist/ugly.index.js",
6
6
  "type": "module",
@@ -227,20 +227,19 @@ export class AbstractSDC {
227
227
  }
228
228
 
229
229
  submitModelFormDistributor($form, e) {
230
- if (this.hasOwnProperty('_submitModelForm') && typeof this._submitModelForm === 'function') {
230
+ if (typeof this._submitModelForm === 'function') {
231
231
  return this._submitModelForm($form, e);
232
232
  }
233
- if (this.hasOwnProperty('submitModelForm') && typeof this.submitModelForm === 'function') {
233
+ if (typeof this.submitModelForm === 'function') {
234
234
  return this.submitModelForm($form, e);
235
235
  }
236
- return this._fallbackSubmitModelForm($form, e);
236
+ return this.defaultSubmitModelForm($form, e);
237
237
  }
238
238
 
239
239
  /**
240
240
  * Model Form Events
241
241
  */
242
-
243
- _fallbackSubmitModelForm($form, e) {
242
+ defaultSubmitModelForm($form, e) {
244
243
  let p_list = [];
245
244
  if (!this._isMixin) {
246
245
  e.stopPropagation();