update oxmedium theme button disabled color and gradient; fix setting value of an Ox.SelectInput

This commit is contained in:
rolux 2013-02-24 14:44:02 +05:30
parent 47efc7377a
commit 9c46e17b9f
2 changed files with 8 additions and 3 deletions

View file

@ -75,7 +75,12 @@ Ox.SelectInput = function(options, self) {
},
width: self.options.width
})
.update({value: setValue});
.update({
value: function() {
self.options.value = that.options('value');
setValue();
}
});
function getTitle() {
var value = self.$select ? self.$select.value() : self.options.value;

View file

@ -29,8 +29,8 @@
"buttonGradient": [[176, 176, 176], [144, 144, 144]],
"buttonActiveColor": [0, 0, 0],
"buttonActiveGradient": [[160, 160, 160], [160, 160, 160]],
"buttonDisabledColor": [64, 64, 64],
"buttonDisabledGradient": [[128, 128, 128], [96, 96, 96]],
"buttonDisabledColor": [96, 96, 96],
"buttonDisabledGradient": [[176, 176, 176], [144, 144, 144]],
"buttonSelectedColor": [255, 255, 255],
"buttonSelectedGradient": [[96, 96, 96], [128, 128, 128]],