Skip to content

Commit

Permalink
Update onSubmit() params
Browse files Browse the repository at this point in the history
  • Loading branch information
gashcrumb committed Mar 25, 2013
1 parent f4a28fe commit 614c5a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hawtio-web/src/main/webapp/app/wiki/js/view.ts
Expand Up @@ -82,8 +82,8 @@ module Wiki {
setTimeout(updateView, 50);
});

$scope.onSubmit = (form) => {
notification("success", "Submitted form data " + form.get(0).name);
$scope.onSubmit = (json, form) => {
notification("success", "Submitted form :" + form.get(0).name + " data: " + JSON.stringify(json));
};

$scope.onCancel = (form) => {
Expand Down

0 comments on commit 614c5a3

Please sign in to comment.