From e474ead4fde530b1cb52f96e827269371120cb89 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 12 Nov 2015 00:14:04 -0500 Subject: form serialization class --- StoneIsland/www/js/lib/nav/FooterView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'StoneIsland/www/js/lib/nav/FooterView.js') diff --git a/StoneIsland/www/js/lib/nav/FooterView.js b/StoneIsland/www/js/lib/nav/FooterView.js index 7f404581..74b249e6 100644 --- a/StoneIsland/www/js/lib/nav/FooterView.js +++ b/StoneIsland/www/js/lib/nav/FooterView.js @@ -30,11 +30,11 @@ var FooterView = View.extend({ }, ok: function(){ - (app.view.save || app.view.ok)() + (app.view.save || app.view.ok).bind(app.view)() }, cancel: function(){ - (app.view.cancel || app.intro.show)() + app.view.cancel ? app.view.cancel() : app.intro.show() }, }) \ No newline at end of file -- cgit v1.2.3-70-g09d2