From 049df9557952ee7666857a43c4c72cdf0c41a349 Mon Sep 17 00:00:00 2001 From: Kuldeep M Date: Mon, 25 Feb 2019 14:51:59 +0000 Subject: [PATCH] [bug] fix broke state path for edit control --- js/control.js | 8 -------- js/keyboard.js | 2 +- js/version.js | 2 +- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/js/control.js b/js/control.js index cb79906d..c3fb7290 100644 --- a/js/control.js +++ b/js/control.js @@ -956,14 +956,6 @@ var control = (function() { }; var update = function() { - var eventType = { - button: "click", - checkbox: "change", - radio: "change", - text: "input", - range: "input", - color: "change" - }; var valueMod = { reverse: function(value, element) { return parseInt(element.max, 10) - value; diff --git a/js/keyboard.js b/js/keyboard.js index 28a2660e..9a006587 100644 --- a/js/keyboard.js +++ b/js/keyboard.js @@ -13,7 +13,7 @@ var keyboard = (function() { } else if (state.get().bookmarks.edit) { helper.setObject({ object: state.get(), - path: "edit.active", + path: "bookmarks.edit", newValue: false }); control.update(); diff --git a/js/version.js b/js/version.js index 71358261..717dfdad 100644 --- a/js/version.js +++ b/js/version.js @@ -1,7 +1,7 @@ var version = (function() { // version is normally bumped when the state needs changing or any new functionality is added - var current = "2.9.2"; + var current = "2.9.3"; var get = function() { var number = current.split(".");