Changes for page homeopathsSheet

Last modified by Jip-jan Alunkel on March 26, 17:31

From version 3.106
edited by Jip-jan Alunkel
on March 10, 21:14
Change comment: Rollback to version 1.38
To version 3.102
edited by Jip-jan Alunkel
on March 10, 20:54
Change comment: Rollback to version 1.38

Summary

Details

Page properties
Content
... ... @@ -108,16 +108,13 @@
108 108   #set($checkBool = ["false","true"])
109 109   #if(!$item.containsKey("classless") && $theDocObj.getProperty($propertyName)) ## 'address' is not a property in the current class
110 110   #set($value = $theDocObj.getProperty($propertyName).value)
111 -$propertyName - $value
112 112   #if($item.type == "checkbox")
113 113   #set($item.extraAttributes["data-checked"] = "$checkBool[$value]")
114 114   #end
115 115   #else
116 - #if($item.type == "checkbox")
117 - #set($value = "1")
118 - #if(!$item.extraAttributes.containsKey("data-checked"))
115 + #set($value = "")
116 + #if($item.type == "checkbox" && $item.containsKey("extraAttributes") && !$item.extraAttributes.containsKey("data-checked"))
119 119   #set($item.extraAttributes["data-checked"] = "$checkBool[0]")
120 - #end
121 121   #end
122 122   #end
123 123   #if(!$value)