From 916a175849754a9f0169e3adfecaf1025c11d337 Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 24 Feb 2013 12:49:30 +0530 Subject: [PATCH] update oxmedium theme placeholder color; fix Ox.Select disableItem/enableItem return value --- source/Ox.UI/js/Form/Select.js | 2 ++ source/Ox.UI/themes/oxmedium/json/theme.jsonc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Form/Select.js b/source/Ox.UI/js/Form/Select.js index 6d3d199f..c08a523e 100644 --- a/source/Ox.UI/js/Form/Select.js +++ b/source/Ox.UI/js/Form/Select.js @@ -232,6 +232,7 @@ Ox.Select = function(options, self) { @*/ that.disableItem = function(id) { self.$menu.getItem(id).options({disabled: true}); + return that; }; /*@ @@ -239,6 +240,7 @@ Ox.Select = function(options, self) { @*/ that.enableItem = function(id) { self.$menu.getItem(id).options({disabled: false}); + return that; }; /*@ diff --git a/source/Ox.UI/themes/oxmedium/json/theme.jsonc b/source/Ox.UI/themes/oxmedium/json/theme.jsonc index 227ca51e..acbf2b12 100644 --- a/source/Ox.UI/themes/oxmedium/json/theme.jsonc +++ b/source/Ox.UI/themes/oxmedium/json/theme.jsonc @@ -82,7 +82,7 @@ "inputErrorColor": [192, 64, 64], "inputFocusBorder": [192, 192, 192], "inputFocusShadow": [192, 192, 192], - "inputPlaceholderColor": [64, 64, 64], + "inputPlaceholderColor": [96, 96, 96], "labelBackground": [160, 160, 160], "labelDisabledColor": [128, 128, 128],