|
@@ -34,7 +34,9 @@ MWF.xApplication.process.Xform.Personfield = MWF.APPPersonfield = new Class({
|
|
|
if (this.json.description){
|
|
if (this.json.description){
|
|
|
var size = this.node.getFirst().getSize();
|
|
var size = this.node.getFirst().getSize();
|
|
|
var w = size.x-3;
|
|
var w = size.x-3;
|
|
|
- if (COMMON.Browser.safari) w = w-20;
|
|
|
|
|
|
|
+ if( this.json.showIcon!='no' && !this.form.json.hideModuleIcon ) {
|
|
|
|
|
+ if (COMMON.Browser.safari) w = w - 20;
|
|
|
|
|
+ }
|
|
|
this.descriptionNode = new Element("div", {"styles": this.form.css.descriptionNode, "text": this.json.description}).inject(this.node);
|
|
this.descriptionNode = new Element("div", {"styles": this.form.css.descriptionNode, "text": this.json.description}).inject(this.node);
|
|
|
this.descriptionNode.setStyles({
|
|
this.descriptionNode.setStyles({
|
|
|
"width": ""+w+"px",
|
|
"width": ""+w+"px",
|