Index: openacs-4/packages/xowiki/tcl/form-field-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/form-field-procs.tcl,v diff -u -r1.239.2.20 -r1.239.2.21 --- openacs-4/packages/xowiki/tcl/form-field-procs.tcl 12 Nov 2014 11:00:56 -0000 1.239.2.20 +++ openacs-4/packages/xowiki/tcl/form-field-procs.tcl 19 Nov 2014 10:32:09 -0000 1.239.2.21 @@ -1112,12 +1112,36 @@ next my type datetime } - # names for HTML5 types - # date, month - # already in use, should redefine accordingly when avail ########################################################### # + # ::xowiki::formfield::h5date + # + # HTML 5 input type "date", to avoid naming conflict with + # pre-existing formfield of type "date" + ########################################################### + Class create h5date -superclass text + h5date instproc initialize {} { + next + my type date + } + + ########################################################### + # + # ::xowiki::formfield::h5time + # + # HTML 5 input type "time", to avoid naming conflict with + # pre-existing formfield of type "time" + ########################################################### + Class create h5time -superclass text + h5time instproc initialize {} { + next + my type time + } + + + ########################################################### + # # ::xowiki::formfield::datetime-local # ###########################################################