Changes for page homeopathsSheet

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

From version 3.31
edited by Jip-jan Alunkel
on March 09, 02:48
Change comment: Rollback to version 1.38
To version 3.30
edited by Jip-jan Alunkel
on March 09, 02:22
Change comment: Rollback to version 1.38

Summary

Details

Page properties
Content
... ... @@ -35,7 +35,7 @@
35 35  ## The classProperties Map has to be in the order of how you want the form elements to appear in the form.
36 36   #set($classProperties = {
37 37   'practiceName': {'type': 'text', 'extraAttributes': {"disabled": "disabled", "help-block" : 'The name of your practice is the title of this page. If you want to change it, you should edit the content of this page.'}},
38 - 'editAddress': {'type': 'checkbox', 'opener': 1, 'classless': 1, 'checked': 0},
38 + 'editAddress': {'type': 'checkbox', 'opener': 1, 'classless': 1},
39 39   'pmAddress': {'type': 'address', 'parent': 'editAddress', 'extraAttributes': {"aria-label": "Input and select the address of your practice", "placeholder": "$services.localization.render('homeopaths.multiword.address.placeholder')", "data-auto-first-capital": "true", "data-query-type": "address", "data-query-reference": "", "data-query-list-type": "suggest-select", "data-query-list-header": "$services.localization.render('pagemaker.line.suggest_select_list')", "data-query-list-contents": "value/key", "data-query-list-editable": "false", "data-create-xobj": "true", "data-xobj-classname": "homeopaths.Code.homeopathsClass", "help-block" : 'Input street and number, then select the address of your practice.'}},
40 40   'pmStreet': {'type': 'text', 'disabled': 1},
41 41   'pmHousenumber': {'type': 'text', 'disabled': 1},
... ... @@ -125,7 +125,6 @@
125 125   #if($item.containsKey("disabled"))
126 126   #else
127 127   #set($propertyType = $item.type)
128 - #set($propertyChecked = $item.checked)
129 129   #set($propertyOpener = $item.opener)
130 130   #set($propertyParent = $item.parent)
131 131   #set($extraAttributes = $item.extraAttributes)
... ... @@ -164,9 +164,6 @@
164 164   #set($discard = $newElem.put("$attr", $attrMap[$attr]))
165 165   #end
166 166   #end
167 - #if($propertyChecked)
168 - #set($discard = $newElem.put("data-checked", "true"))
169 - #end
170 170   #if($propertyOpener)
171 171   #set($discard = $newElem.put("data-opener", "true"))
172 172   #end