From 6cf7083665dfc79311587d4662d67f86e4723c5f Mon Sep 17 00:00:00 2001 From: j Date: Mon, 6 Nov 2017 21:22:03 +0200 Subject: [PATCH] FF complains about dead code afte return, comment out --- source/UI/js/Form/FormElementGroup.js | 2 +- source/UI/js/Form/Input.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/UI/js/Form/FormElementGroup.js b/source/UI/js/Form/FormElementGroup.js index a6fbaa2f..5f9c0eaf 100644 --- a/source/UI/js/Form/FormElementGroup.js +++ b/source/UI/js/Form/FormElementGroup.js @@ -125,7 +125,7 @@ Ox.FormElementGroup = function(options, self) { : values; } else { return that.options({value: arguments[0]}); - return that; + //return that; } }; diff --git a/source/UI/js/Form/Input.js b/source/UI/js/Form/Input.js index 3708a913..0d079e63 100644 --- a/source/UI/js/Form/Input.js +++ b/source/UI/js/Form/Input.js @@ -781,9 +781,11 @@ Ox.Input = function(options, self) { function deselectMenu() { return; //Ox.Log('Form', 'deselectMenu') + /* self.options.value = self.oldValue; self.$input.val(self.options.value); cursor(self.oldCursor); + */ } function focus() {