Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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!
Comment | File | Size | Author |
---|---|---|---|
#10 | sticky_notes-742782.patch | 679 bytes | berliner |
Comments
Comment #1
berliner CreditAttribution: berliner commentedWhat 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?
Comment #2
MGN CreditAttribution: MGN commentedChanging status so btopro knows the maintainer is seeking additional information...
Comment #3
psy CreditAttribution: psy commentedI 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.
Comment #4
btopro CreditAttribution: btopro commentedHmm.. 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.
Comment #6
AntiNSA CreditAttribution: AntiNSA commentedI 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?
Comment #7
AntiNSA CreditAttribution: AntiNSA commentedAnyone know where I can get jquery 1.6 as its no longer available to download at their site?
Comment #8
AntiNSA CreditAttribution: AntiNSA commentedhttp://code.google.com/p/jquery-ui/downloads/list?can=1&q=1.6&colspec=Fi...
Comment #9
berliner CreditAttribution: berliner commentedYou 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.
Comment #10
berliner CreditAttribution: berliner commentedHi, 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().
Comment #11
berliner CreditAttribution: berliner commentedComment #12
jusyjim CreditAttribution: jusyjim commentedsubscribing
Comment #13
berliner CreditAttribution: berliner commentedI set this to fixed because I already integrated that patch into the dev version. If the problem persists please reopen this issue.
Comment #14
davidzz CreditAttribution: davidzz commentedThere'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.
Comment #15
berliner CreditAttribution: berliner commentedSorry, 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.
Comment #16
davidzz CreditAttribution: davidzz commentedThanks. I switched to the development module for jquery update and it works. Sorry for the trouble.
Comment #17
berliner CreditAttribution: berliner commented