[bug] fix broke state path for edit control
This commit is contained in:
parent
6506b3327e
commit
049df95579
|
@ -956,14 +956,6 @@ var control = (function() {
|
||||||
};
|
};
|
||||||
|
|
||||||
var update = function() {
|
var update = function() {
|
||||||
var eventType = {
|
|
||||||
button: "click",
|
|
||||||
checkbox: "change",
|
|
||||||
radio: "change",
|
|
||||||
text: "input",
|
|
||||||
range: "input",
|
|
||||||
color: "change"
|
|
||||||
};
|
|
||||||
var valueMod = {
|
var valueMod = {
|
||||||
reverse: function(value, element) {
|
reverse: function(value, element) {
|
||||||
return parseInt(element.max, 10) - value;
|
return parseInt(element.max, 10) - value;
|
||||||
|
|
|
@ -13,7 +13,7 @@ var keyboard = (function() {
|
||||||
} else if (state.get().bookmarks.edit) {
|
} else if (state.get().bookmarks.edit) {
|
||||||
helper.setObject({
|
helper.setObject({
|
||||||
object: state.get(),
|
object: state.get(),
|
||||||
path: "edit.active",
|
path: "bookmarks.edit",
|
||||||
newValue: false
|
newValue: false
|
||||||
});
|
});
|
||||||
control.update();
|
control.update();
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
var version = (function() {
|
var version = (function() {
|
||||||
|
|
||||||
// version is normally bumped when the state needs changing or any new functionality is added
|
// 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 get = function() {
|
||||||
var number = current.split(".");
|
var number = current.split(".");
|
||||||
|
|
Loading…
Reference in New Issue