Details
-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
3.5.4
-
None
-
Windows Server 2003, Firefox 2.0.0.12, Magnolia 3.54EE
Description
When using the date control in a dialog, I have configured it as
follows:
Date-interview
controlType date String
description Date of Interview String
label Date of Interview String
name date-interview String
time false String
type Date String
If you try to open the dialog control and enter a date though, you get the following javascript errors:
missing ; before statement
var cal_butt_date-3 = Calendar.setup({\n
missing ; before statement
mgnlShiftPushButtonClick(this);cal_butt_date-3.show()
This problem seems to go away if you change the value of the 'name' node to anything without a '-' in it. So for, example 'dateinterview' is fine.
There is also a similar problem when using hyphenated-names with the fckEditor control.
I haven't looked at this with other controls yet.