diff options
Diffstat (limited to 'StoneIsland/platforms/android/assets/www/js/lib/nav/FooterView.js')
| -rwxr-xr-x | StoneIsland/platforms/android/assets/www/js/lib/nav/FooterView.js | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/StoneIsland/platforms/android/assets/www/js/lib/nav/FooterView.js b/StoneIsland/platforms/android/assets/www/js/lib/nav/FooterView.js deleted file mode 100755 index 855c37bd..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/nav/FooterView.js +++ /dev/null @@ -1,43 +0,0 @@ -var FooterView = View.extend({ - - el: "#footer", - - events: { - "click .ok": "ok", - "click .cancel": "cancel", - }, - - initialize: function(){ - this.$ok = this.$(".ok") - this.$cancel = this.$(".cancel") - this.hide() - }, - - show: function(ok, cancel){ - if (cancel) { - this.$ok.removeClass("wide") - this.$cancel.show().html(cancel) - this.$cancel.attr('aria-label', cancel.toLowerCase()) - } - else { - this.$ok.addClass("wide") - this.$cancel.hide() - } - this.$ok.html(ok) - this.$ok.attr('aria-label', ok.toLowerCase()) - this.$el.show() - }, - - hide: function(){ - this.$el.hide() - }, - - ok: function(){ - (app.view.save || app.view.ok).bind(app.view)() - }, - - cancel: function(){ - app.view.cancel ? app.view.cancel() : app.intro.show() - }, - -})
\ No newline at end of file |
