},
Base,
{
-
+ doubleStringProps : [
+ 'title',
+ 'legend',
+ 'loadingText',
+ 'emptyText',
+ 'qtip',
+ 'value',
+ 'text'
+ ],
modOrder : '001', /// sequence id that this uses.
region : 'center',
parent : '',
title : '', // the title on displayed when loading.
disable : '', // use a function to that returns false to disable this..
+ permname: '', /// permission name
setNSID : function(id)
{
_this.name = cfg.name.replace(/\.bjs/, ''); // BC!
_this.parent = cfg.parent;
+ _this.permname = cfg.permname;
_this.title = cfg.title;
_this.items = cfg.items || [];
" region : '" + this.region +"',",
" parent : " + (this.parent || 'false') + ",",
" name : " + JSON.stringify(this.title || "unnamed module") + ",",
- " disabled : " + (this.disabled || 'false') +" ",
+ " disabled : " + (this.disabled || 'false') +", ",
+ " permname: '" + (this.permname|| '') +"' ",
" });",
"});",
"",
" disabled : " + (this.disabled || 'false') +", ",
" tree : function()",
" {",
- " _this = this;", // bc
- " MODULE = this;", /// this looks like a better name.
+ " var _this = this;", // bc
+ " var MODULE = this;", /// this looks like a better name.
" return " + o + ';',
" }",
"});",