Closed (fixed)
Project:
Drupal core
Version:
4.7.3
Component:
other
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
22 Sep 2006 at 15:49 UTC
Updated:
19 Aug 2015 at 15:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedhere is the jquery.js file since I couldn't attach it with the patch. (same jquery.js i grabbed from HEAD)
Comment #2
Anonymous (not verified) commentednew one that should actually work :P
Comment #3
dkruglyak commentedWhat about patching against 4.7.3? Could this make it into 4.7.4?
Also these look like pretty extensive changes... Is there an easy way to backup / restore affected files if the patch goes wrong?
Thanks for putting this together!
Comment #4
Anonymous (not verified) commentedk this one is even better. .
after discovering the order process of the files being included, i discoverd and issue where the tinymce toggle function which gets added by drupal_set_html_head() goes before the include of tinymce.js so that was an issue.
to resolve this, i removed the drupal_get_js() from theme_page and phptemplate.engine and just stuck it in drupal_get_html_head().
Comment #5
Anonymous (not verified) commentedim still testing this patch and i want others to as well.. once a final solid patch is ready.. I'm not sure what we can do to make things easier from there.. need to think about that a little more..
regarding commiting to a 4.7.4 copy... it wont happen. It'd be great but it just wont happen :(
Comment #6
dkruglyak commentedI will check it out. The idea of having to update / re-patch so many changes with every 4.7.x release (in production) sounds a little scary. Hope it might be possible to consolidate changes to be more compact...
Comment #7
edmund.kwok commentedPatch did not apply cleanly to latest 4.7 checkout for theme.inc and drupal.js. Will test it when this is rectified :-)
Comment #8
Anonymous (not verified) commentedto be more compact is not going to happen. this is changing every .js file to be the new jquery way.
regarding it not applying properly.. those were the same 2 that i got errors on for the first one.. then i rerolled another one and it was ok.. did you try the latest? can you see anything in the patch file that can be causing this?
Comment #9
edmund.kwok commentedWith the latest cvs 4.7 checkout, theme.inc and drupal.js are as follows:
While in the patch:
Slightly older versions ;-)
Comment #10
Anonymous (not verified) commentedsorry for my cvs noobness
try this one.
Comment #11
Anonymous (not verified) commentedarg.. i missed one thing..
Comment #12
m3avrck commentedHere's an updated patch that *includes* Jquery in it.
To do this, just hack your CVS/Entries in misc an add:
/jquery.js/0/Initial jquery.js//
Comment #13
Anonymous (not verified) commentedyay ted!
Comment #14
mikey_p commentedApplied this and the autocomplete.js is still broken with 4.7.3 with or without jquery.js after applying the patch. Otherwise works fine, I am using the jquery from head, with 4.7.3.
Comment #15
mikey_p commentedcorrection...not autocomplete.js it break the collapse.js boxes on edit and node/add pages...I had the same problem before applying this patch.
Comment #16
chx commentedComment #17
Steven commentedKeeping jQuery patch up to date with 1.0.2. I also included some drupal.css changes which were not backported before.
Not sure what the status of this should be. This patch is not going to be committed...
Comment #18
RobRoy commentedApplied Steven's last patch, works great. Thanks.
Maybe we should mark this postponed? So it stays in the forefront a bit, but no one will try and review it at least. Change it back if I'm wrong.
Comment #19
dvessel commentedSweet! I'll give this is a whirl. Was gonna hold off but if it works out without much problems, I'll stick with this till 5.0. Thanks!
Each revision of the patch only works with a fresh install, right? Well, I'll find out.
Comment #20
RobRoy commentedActually, there is an error on node/add/page if you have File attachments enabled for pages. Putting back to code needs work. Did some part of the upload backport not get polished. Any thoughts on this Steven?
button has no properties drupal.js (line 31)Comment #21
Steven commentedYeah this was not backported properly. Better patch for 4.7-HEAD.
Comment #22
RobRoy commentedSweet. That one is working great so far. Thanks Steven.
Comment #23
dkruglyak commentedLooks like we might need a 4.7.4 upgrade ?
Comment #24
m3avrck commentedThis will never make it into 4.7.
Not sure what the best status .. should we keep it active? Postponed?
If it's postponed it shouldn't automatically be closed, right?
Comment #25
RobRoy commentedI think postponed is fine so it stays visible. We can close it when 4.7 is old news or when most peeps are on 5.0+.
Comment #26
Steven commentedKeeping in sync with head (to fix the radiobutton-inside-collapsed-fieldset issue).
Comment #27
dkruglyak commentedThis constant need for updating and patching core files seems a tad unnerving. What do you think about instead merging this effort into here: http://drupal.org/project/jquery47
What are the pros and cons? Ability to maintain and use with non-HEAD versions of the tree (I am still on 4.7.3)? Support for 3rd party jQuery plugins?
Thoughts?
Comment #28
Steven commentedUpdating with jQuery 1.0.3 as per HEAD.
dkruglyak: I've only ever used this patch for projects where we don't rely on 4.7 drupal.js at all. Such modules are rare, and easy to port anyway. Both projects have their uses I guess, but IMO the rest of the JS improvements, including on the PHP side, make it much easier to do heavy jQuery lifting in custom modules and themes.
Comment #29
bdragon commentedWell, the jquery47 module handles this, so really no reason to continue to keep this issue open still...
Comment #30
dkruglyak commentedI think 4.7 and jQuery 1.0.x are time to retire...