Hi All,

I have no idea my site STORM for date field is not working. The browser catch an error "Uncaught TypeError: Object #

has no method 'datepicker'" when clicking date field for all storm component. My drupal has installed: Drupal Ver: 6.25 Storm: 6.x-2.0 Jquery UI: 6.x-1.5 Please help. :) Thanks.

Comments

juliangb’s picture

Status: Active » Postponed (maintainer needs more info)

This sounds like an error with jquery ui or with the interaction between Storm's fields and jquery ui.

First of all, can you confirm that the error goes away when jquery ui is disabled?

kenson’s picture

Once i disabled jQuery UI STORM module could not launch and show error page.
So far i can see that only date field has this problem.

juliangb’s picture

What do you mean by could not launch? Can you post the error pages?

Also - be sure to clear caches after disabling JQuery UI - we need to see whether there is an issue with Storm on its own or whether it is a combination of the two.

kenson’s picture

StatusFileSize
new9.88 KB
new10.49 KB
new3.89 KB
new7.76 KB

Dear Sir,

1. Before JQuery enabled
Before Jquery Installed

2. Before JQuery enabled and click Task
Before jQuery Enabled

3. Enabled jQuery
Enabled jQuery

4. Enabled jQuery and Click Task
Enabled jQuery
With this screenshot you can see that Date Field does not show date picker after jQuery Enabled.

Thanks. :)

juliangb’s picture

Status: Postponed (maintainer needs more info) » Active

I'll try to find time to have a look.

kenson’s picture

ok, will wait for your good news.
Thank you. :)

kfritsche’s picture

StatusFileSize
new26.72 KB
new44.65 KB

From the screenshots, it looks fine for me.

first screenshoot: there is a big warning, that you have enabled the date_popup module, but not the jquery_ui module.
second screenshoot: results in an error, as module dependencies are not matched
fourth screenshoot: at first look, it seems okay to me. As the date popup will be shown, if you click in the date begin field.

Here a screenshoot, if you click into the date begin field:
with date popup

And a second screenshot, how it looks, if date popup is disabled at all:
with date popup

As you can see, the date popup seems to be working correctly.

Where and when the error "Uncaught TypeError: Object # has no method 'datepicker'" appears? Doesn't see it in any screenshot of yours. Which version of the date module you are using?

juliangb’s picture

Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

Marking for a response from @kenson .

juliangb’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No response for a few months. Please reopen if you still need help.