From dd291e8ca0bf8ba48c77f272f502374b651c353a Mon Sep 17 00:00:00 2001
From: Piotr Dabrowski
Date: Fri, 6 Sep 2013 11:40:24 +0200
Subject: [PATCH] [ExercisePlanner] updated ExercisePlanner sources
Change-Id: I05c128b40ac7bc13e0333ad59d79129b5d822bc4
---
js/UI.js | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/js/UI.js b/js/UI.js
index be22e49..4edf079 100644
--- a/js/UI.js
+++ b/js/UI.js
@@ -52,9 +52,6 @@ function UI() {
buttons = {'Cancel': function () { $("#popup").popup('close') }};
// to hide default button give {'Cancel': false} in callback
- // N_SE-49979 workaround to lock forbidden keys
- this.lockTabKey();
-
for (i in callback) {
if (callback.hasOwnProperty(i)) {
buttons[i] = callback[i];
@@ -84,16 +81,6 @@ function UI() {
});
};
- UI.prototype.lockTabKey = function () {
- var key;
- $(document).on('keydown', function(event) {
- key = event.keyCode;
- if (key === 9 || key === 38 || key === 40) {
- event.preventDefault();
- }
- });
- };
-
UI.prototype.clearTabbars = function () {
$('[data-role = "tabbar"] li > a').removeClass('ui-focus, ui-btn-active');
};
--
2.7.4