Closed (fixed)
Project:
Date
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Sep 2006 at 04:25 UTC
Updated:
1 Oct 2006 at 20:00 UTC
The $form['format'] = $formats['input']['text']; in the following code results in a FAPI loop on /node/add/<node-type>, but only if jscalendar is enabled and the date widget type is set to 'Text Field...'.
diff -u -p -r1.9.2.5 date.inc
--- date.inc 16 Sep 2006 16:16:12 -0000 1.9.2.5
@@ -997,7 +997,7 @@ function date_text_input($params) {
'#description' => $description,
'#weight' => $weight,
);
= $form['format'] = $formats['input']['text'];
}
// if the jscalendar is used for input, add some attributes to be passed to the js
Comments
Comment #1
karens commentedThanks for catching that. It is a leftover line from a change I did not make after all.
Comment #2
(not verified) commented