Skip to content

Commit

Permalink
Fixed issue #10281: Missing ev argument
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Feb 3, 2016
1 parent 0aa865e commit 165914c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions styles/Sea_Green/scripts/save.js
Expand Up @@ -37,7 +37,7 @@ var getForm = function (that) {
};

if ($('#save-button').length > 0){
$('#save-button').on('click', function()
$('#save-button').on('click', function(ev)
{
ev.preventDefault();
var $form = getForm(this);
Expand All @@ -49,7 +49,7 @@ if ($('#save-button').length > 0){

// Save-and-close button
if ($('#save-and-close-button').length > 0){
$('#save-and-close-button').on('click', function()
$('#save-and-close-button').on('click', function(ev)
{
ev.preventDefault();
var $form = getForm(this);
Expand Down

0 comments on commit 165914c

Please sign in to comment.