Skip to content

Commit

Permalink
Merge pull request #119 from TomJLynch/master
Browse files Browse the repository at this point in the history
Pass data parameter to Save injection method
  • Loading branch information
szul authored Mar 22, 2018
2 parents 2227170 + 1c39adc commit d891d76
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/metron.forms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ namespace metron {
catch(e) { }
}
if ((<any>self).save_m_inject != null) {
(<any>self).save_m_inject();
(<any>self).save_m_inject(data);
}
}
public loadForm(parameters?: any, defaults?: any): void {
Expand Down

0 comments on commit d891d76

Please sign in to comment.