From 4c1c8841efa0e6010717ea66ca72a31260b07552 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Sun, 7 Apr 2013 11:42:00 -0400 Subject: [PATCH] * Allow edit of internal file location on WebOS --- app/source/TodoPrefs.js | 2 +- app/source/TodoTxt.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/source/TodoPrefs.js b/app/source/TodoPrefs.js index 6041e8a..7e57e5c 100644 --- a/app/source/TodoPrefs.js +++ b/app/source/TodoPrefs.js @@ -90,7 +90,7 @@ enyo.kind({ {flex: 1, kind: "Input", name: "filepath", preferenceProperty: "filepath", hint: "file path", - disabled: true + disabled: false } ]}, {kind: "Item", layoutKind: "HFlexLayout", diff --git a/app/source/TodoTxt.js b/app/source/TodoTxt.js index 7616362..5bf8b1d 100644 --- a/app/source/TodoTxt.js +++ b/app/source/TodoTxt.js @@ -109,6 +109,7 @@ enyo.kind({ className: "enyo-box-input", owner:this.$.editView} ); this.$.editView.render(); + this.$.preferenceView.$.filepath.setDisabled(false); } else { this.os = "unknown"; }