Closed (duplicate)
Project:
Webform
Version:
7.x-3.13
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
23 Oct 2011 at 21:29 UTC
Updated:
13 Dec 2011 at 09:43 UTC
I use the modules below:
Date 7.x-2.x-dev
Calendar 7.x-3.x-dev
Webform 7.x-3.13
When I added a component of date to my webform and I enabled popup function, and I clicking on the calendar icon, than the form will be submitted instead of popup in some browsers. Only in the webform, in other places node, admin overlay everything is allright.
Correctly: (appear the popup field of calendar)
Opera 11.5x
Chrome 14.0.x
Firefox 7.x
Fails:
Firefox 3.6.23
IE 9
All browsers are under Windows.
Sorry if this post would be better under issue/calendar, I can not decide.
Comments
Comment #1
karens commentedThe Date module has nothing to do with Webform. Webform handles its own dates.
Comment #2
quicksketch#1285342: Date Popup causes JavaScript error on IE8/9
Comment #3
code-brighton commentedThis was broken again and this time it is to do with webform/js/webform.js has a couple of debug calls to console that throw an error in firebug look for:
console.log(startDate);
and
console.log(startDate);
console.log(endDate);
delete these lines!
Update:
duplicate of this http://drupal.org/node/1285342 so if this patch has been committed it might be ok now, but was a bug for me!
Comment #4
mohanrajthangarasu commentedSolved. code-brighton solution works for me.