From 1c39adcf77ada5d99e20b3ff306816563f6e6f5c Mon Sep 17 00:00:00 2001 From: Tom Lynch Date: Tue, 20 Mar 2018 13:36:07 -0400 Subject: [PATCH] pass data parameter to save injection --- bower.json | 2 +- package.json | 2 +- src/metron.forms.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bower.json b/bower.json index f425fc6..5ce0ddf 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "metron", - "version": "2.8.0", + "version": "2.8.1", "description": "A lightweight library and front-end framework utilizing data attributes", "main": "dist/gen/metron.js", "authors": [ diff --git a/package.json b/package.json index b94f7c5..14df0f7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "metronical.metron", - "version": "2.8.0", + "version": "2.8.1", "description": "A lightweight library and front-end framework utilizing data attributes", "main": "dist/gen/metron.js", "homepage": "https://github.com/metronical/metron", diff --git a/src/metron.forms.ts b/src/metron.forms.ts index f29da4e..8e56445 100644 --- a/src/metron.forms.ts +++ b/src/metron.forms.ts @@ -158,7 +158,7 @@ namespace metron { catch(e) { } } if ((self).save_m_inject != null) { - (self).save_m_inject(); + (self).save_m_inject(data); } } public loadForm(parameters?: any, defaults?: any): void {