* Some notes
This commit is contained in:
parent
2aa43295e3
commit
767319e234
|
@ -508,6 +508,9 @@ ViewController.prototype.loadFromMenuConfig = function(options, cb) {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
function applyViewConfiguration(callback) {
|
function applyViewConfiguration(callback) {
|
||||||
|
//
|
||||||
|
// :TODO: need to merge configs from menu -> theme (specific) -> theme (default) -> defaults
|
||||||
|
|
||||||
if(_.isObject(formConfig)) {
|
if(_.isObject(formConfig)) {
|
||||||
self.applyViewConfig(formConfig, function configApplied(err, info) {
|
self.applyViewConfig(formConfig, function configApplied(err, info) {
|
||||||
initialFocusId = info.initialFocusId;
|
initialFocusId = info.initialFocusId;
|
||||||
|
|
|
@ -6,6 +6,12 @@
|
||||||
"defaults" : {
|
"defaults" : {
|
||||||
"general" : {
|
"general" : {
|
||||||
"passwordChar" : "φ"
|
"passwordChar" : "φ"
|
||||||
|
},
|
||||||
|
"views" : {
|
||||||
|
// :TODO: This should apply - by default - to all ToggleMenu's unless overridden elsewhere
|
||||||
|
"TM" : {
|
||||||
|
"styleSGR1" : "|00|30|01"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"menus" : {
|
"menus" : {
|
||||||
|
|
Loading…
Reference in New Issue