kopia lustrzana https://github.com/c9/core
Tweaks to make menus work better
rodzic
1d9d07f483
commit
bf45f18201
|
@ -88,7 +88,7 @@
|
|||
"c9.ide.format": "#b0bb91a623",
|
||||
"c9.ide.help.support": "#e95f98f87c",
|
||||
"c9.ide.imgeditor": "#66a9733dc1",
|
||||
"c9.ide.immediate": "#6cd73fca42",
|
||||
"c9.ide.immediate": "#9dc67b8232",
|
||||
"c9.ide.installer": "#0fde9f0067",
|
||||
"c9.ide.mount": "#da6ad73c5b",
|
||||
"c9.ide.navigate": "#c191d9b92f",
|
||||
|
|
|
@ -738,6 +738,8 @@ apf.menu = function(struct, tagName){
|
|||
* @param {String} value The value of the item to select.
|
||||
*/
|
||||
this.select = function(group, value){
|
||||
this.selectedValue = value;
|
||||
|
||||
var nodes = this.childNodes;
|
||||
var i, l = nodes.length;
|
||||
for (i = 0; i < l; i++) {
|
||||
|
|
|
@ -114,6 +114,7 @@ define(function(require, module, exports) {
|
|||
};
|
||||
}
|
||||
wrap(apf.item.prototype, "checked", false);
|
||||
wrap(apf.item.prototype, "selected", false);
|
||||
wrap(apf.spinner.prototype, "value", true);
|
||||
wrap(apf.group.prototype, "value", false);
|
||||
wrap(apf.checkbox.prototype, "value", false);
|
||||
|
|
Ładowanie…
Reference in New Issue