Just as it says, this module is incompatible with jquery update 2.x-dev. I know things marked dev typically are just that, developmental, but version 2.x branch is pretty common / widely used 5k+ sites. If anyone knows what needs to be changed to make it work please let me know as I'd like to role this out on every course we make. V. cool implementation of a sticky note project!

CommentFileSizeAuthor
#10 sticky_notes-742782.patch679 bytesberliner
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

berliner’s picture

What is it that doesn't work? I just installed jquery_update 2.x-dev and changed the jquery_ui version from 1.6 to 1.7 as stated in the jquery_ui README.txt.

On my local dev machine it seems to work ok, aside from a problem with the "hide"-link in the info box. It seems that the .fadeOut function won't work for a reason I don't yet understand. The same problem affects an undesired behaviour for adding or editing a note. Afterwards the notes flash back in even if they have not been hidden before. I will have a look at this.

Could you give me more details on the problems you encounter? Are there any error messages in the javascript console?

MGN’s picture

Status: Active » Postponed (maintainer needs more info)

Changing status so btopro knows the maintainer is seeking additional information...

psy’s picture

I found that it did not work properly if using JQuery UI > 1.6. Specifically the Add note page would open in a fresh page, so no modal window.
Removing JQuery Update module and installing JQuery 1.6 fixed it.

btopro’s picture

Status: Postponed (maintainer needs more info) » Fixed

Hmm.. I guess it was the jquery UI package then as I had both running. All i know is that I was disabling jquery_update and it started working. Guess it's just documentation then.

Status: Fixed » Closed (fixed)

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

AntiNSA’s picture

Status: Closed (fixed) » Needs work

I think I have some mods using a newer version than jquery 1.7 . or whatever the newest version than 1.6. Is it possible to get the hide notes to work with the newer jquery than 1.6?

AntiNSA’s picture

Anyone know where I can get jquery 1.6 as its no longer available to download at their site?

AntiNSA’s picture

berliner’s picture

Status: Needs work » Postponed (maintainer needs more info)

You are talking about jquery UI, right? Since the current jquery release is 1.4.2. Sticky notes should work with jquery_ui 1.6 and 1.7 if you upgrade the versions by using the jquery_uid module: http://drupal.org/project/jquery_ui

If you want to to uses jquery UI 1.7 then you need to install the jquery update module (http://drupal.org/project/jquery_update) and install jquery 1.3 as stated in the documentation of the jquery_ui module.

I hope that I didn't miss your point.

berliner’s picture

FileSize
679 bytes

Hi, I finally had a look into this. For reasons I don't understand yet, the .fadeOut() method of the jquery object doesn't work when having jquery 1.3 and jquery ui 1.7.x installed. That's why the hide function doesn't work either. You can get around this by applying the attached patch that will simply replace the call to .fadeOut() with .hide().

berliner’s picture

Status: Postponed (maintainer needs more info) » Needs review
jusyjim’s picture

subscribing

berliner’s picture

Status: Needs review » Fixed

I set this to fixed because I already integrated that patch into the dev version. If the problem persists please reopen this issue.

davidzz’s picture

Status: Fixed » Active

There's a problem, though: Modal Frame API right now only works with JQuery 1.7, and Sticky Notes depend on it. Disabling 1.7 obviously is not a valid solution.

berliner’s picture

Status: Active » Postponed (maintainer needs more info)

Sorry, but I don't understand your problem. With the proposed patch (or the lates dev version) Sticky Notes can work with jquery ui 1.7 using jquery update module to upgrade from jquery 1.2.6 to jquery 1.3. I didn't propose to disable jquery ui 1.7. The patch simply replaces the calls to the jquery fadeOut method, which doesn't work properly with jquery 1.3 in Sticky Notes, with calls to the hide method. Do you encounter any specific problems with this setup? If yes, please provide details on the versions of the concerned modules and libraries.

davidzz’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Thanks. I switched to the development module for jquery update and it works. Sorry for the trouble.

berliner’s picture

Status: Closed (fixed) » Fixed

Status: Fixed » Closed (fixed)

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