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 {