Changes for page homeopathsSheet
Last modified by Jip-jan Alunkel on March 26, 17:31
From version 3.73
edited by Jip-jan Alunkel
on March 09, 17:23
on March 09, 17:23
Change comment:
Rollback to version 1.38
To version 3.70
edited by Jip-jan Alunkel
on March 09, 17:15
on March 09, 17:15
Change comment:
Rollback to version 1.38
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -110,28 +110,24 @@ 110 110 #if($propertyType == "checkbox") 111 111 #set($value = "1") 112 112 #if($item.containsKey("classless")) 113 - #if(!$item.containsKey("checked")) 114 - #set($item["checked"] = '0') 115 - #end 113 + #set($item["checked"] = '0') 116 116 #else 117 - #set($checkboxPropVal = $theDocObj.getProperty( $propertyName).value)115 + #set($checkboxPropVal = $theDocObj.getProperty("certification").value) 118 118 #set($item["checked"] = '$numbertool.toNumber($checkboxPropVal).intValue()') 119 119 #end 120 120 #end 121 - #if($theDocObj.getProperty($propertyName) || $propertyType == "address") ## 'address' is not a property in the current class 122 - #if($propertyType != "checkbox") 123 - #set($value = $theDocObj.getProperty($propertyName).value) 124 - #end 125 - #end 126 126 #set($propertyChecked = $item.checked) 127 127 #set($propertyOpener = $item.opener) 128 128 #set($propertyParent = $item.parent) 129 129 #set($extraAttributes = $item.extraAttributes) 130 130 #set($label = $services.localization.render("homeopaths.classproperty.${propertyName}")) 124 + #if($theDocObj.getProperty($propertyName) || $propertyType == "address") ## 'address' is not a property in the current class 125 + #set($value = $theDocObj.getProperty($propertyName).value) 126 + #end 131 131 #if(!$value) 132 132 #set($value = "") 133 133 #end 134 -$ propertyChecked130 +$value 135 135 #if($item.containsKey("classless")) 136 136 #set($newElem = { 137 137 "id" : "$propertyName",