From 54966185d185df234eeb02fc62d7dc3db2389d1c Mon Sep 17 00:00:00 2001 From: isqua Date: Tue, 27 Jan 2015 14:28:08 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20=D1=82=D0=B5=D0=BA=D1=81=D1=82=D0=BE=D0=B2=D1=8B=D0=B9?= =?UTF-8?q?=20=D1=82=D0=B8=D0=BF=20=D0=BE=D0=BF=D1=86=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chrome_point_plus/js/options.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/chrome_point_plus/js/options.js b/chrome_point_plus/js/options.js index 81bd5e9..ecb974a 100644 --- a/chrome_point_plus/js/options.js +++ b/chrome_point_plus/js/options.js @@ -80,6 +80,7 @@ OptionsPage.prototype.restore = function() { break; case 'enum': + case 'plain': input.value = data.value; break; @@ -122,6 +123,11 @@ OptionsPage.prototype.updateOptionFromInput = function(input) { type: 'enum', value: input.value }; + } else { + this._options[key] = { + type: 'plain', + value: input.value + } } };