On a new D 6.16 site, I switched on a number of modules, including Sticky Notes, then noticed jQuery functionality was missing. For example, the handles for changing weight (of blocks or fields in content types) were missing.

I tried switching off a number of modules, eventually found Sticky Notes to be the culprit. After disabling it the handles are there.

FYI, I use the stable version of jQuery Update (6.x-1.1)

Comments

berliner’s picture

Status: Active » Postponed (maintainer needs more info)

Did you update jquery_ui according to the updated jquery version? If so, can you have a look in firebug (or any other javascript debugging tool you might use) for any javascript error messages?

vacilando’s picture

Status: Postponed (maintainer needs more info) » Active

Yes, it seems current. My jQuery and module versions:
jQuery UI 1.6 (using jQuery UI module 1.3)
jQuery Update 1.2.6 (using jQuery Update 1.1)

jQuery works fine when Sticky Notes are off.

Is the above config (all stable versions) not supported by Sticky Notes?

berliner’s picture

I never had any real problems with this combination. I will have a look into this.

berliner’s picture

Status: Active » Postponed (maintainer needs more info)

I'm sorry, but I can not reproduce your scenario. I just updated a test site to 6.16, installed jquery_update module 1.1 (btw. what do you need that for if you still run the default versions of jquery and jquery_ui?) jquery_ui 1.3 with the same versions for the javascript packages jquery (1.26) and jquery_ui (1.6) as in your install. Sticky notes work as before.

Could you please provide any javascript debug information?
If the list is not too long I would also appreciate if you could give me a list of the installed modules.
Is the site maybe online somewhere so I could have a look at it?

Since you use the default versions of jquery and jquery_ui, did you try to disable the jquery_update module?

vacilando’s picture

Status: Postponed (maintainer needs more info) » Active

Hi Berliner,

I've installed another fresh D6.16 site yesterday (same jQuery versions as above) and switched on Sticky Notes just to give it another try.

I then forgot about it but I battled with weird behaviour of the dragging handles in the blocks page -- they would move with the mouse movements, without holding a mouse button, very annoying! Then I remembered about Sticky Notes and switched off the module. Blocks dragging was OK again.

So definitely there is a problem.

I did have a quick look at Firebug but did not see anything obvious.

In your test results you said "Sticky notes work as before."
But it's not Sticky Notes that stop working -- it is other functionality that relies on jQuery.

Thanks for looking into it.

berliner’s picture

Hey, thanks for precising the issue. That put me on the right track.

I accidentally overrode the Drupal.theme.prototype object, so that all kinds of drupals javascript couldn't find their theming functions anymore. Bad mistake, but not that easy to find for me.

I fixed it. As i am just about to finish some other modifications I will commit that all together to the dev branch probably this afternoon. An updated dev release should be available tomorrow.

Thank you very much for pointing me to this silly error :-)

berliner’s picture

Status: Active » Postponed (maintainer needs more info)

I committed the changes to dev. It should be available for download soon, but you can already take the CVS version. If you could test the changes and give me feedback on your issue, that would be great.

vacilando’s picture

Status: Postponed (maintainer needs more info) » Fixed

Great, seems it works fine now; thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.