change default value for unset checkbox to be in line with old eTemplate, using "" that evaluates in PHP and javascript to false and not string "false"

This commit is contained in:
Ralf Becker 2014-07-08 11:31:57 +00:00
parent 579e0da787
commit 55722f4520

View File

@ -35,13 +35,13 @@ var et2_checkbox = et2_inputWidget.extend(
"unselected_value": { "unselected_value": {
"name": "Unset value", "name": "Unset value",
"type": "string", "type": "string",
"default": "false", "default": "",
"description": "Value when not checked" "description": "Value when not checked"
}, },
"ro_true": { "ro_true": {
"name": "Read only selected", "name": "Read only selected",
"type": "string", "type": "string",
"default": "x", "default": "X ",
"description": "What should be displayed when readonly and selected" "description": "What should be displayed when readonly and selected"
}, },
"ro_false": { "ro_false": {