Remove dependency on jquery update
| Project: | Autosave |
| Version: | 5.x-3.2 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Hi. I'm working in drupal 5.
I've found that the jquery update breaks more things for me than it fixes. It fixes autosave, and breaks much else. (collapsing groups, and the jquery date pickers in Date v2.x, is what I've noticed so far).
Therefore, I set about to remove the dependency on jquery update. As far as I can tell, the only problem is the field plugin's use of inArray, which is only available in later jQuery versions.
So here's a patch that may fix the dependency. I did some quick testing -- having a form autosave, I could view -> reset, view -> keep, view -> ignore.
I tried the latest field plugin and it seems that it would take a lot more work to get that working. Therefore, I propose that we fork the field module here and add this little change. If drupal updates the jquery, it will make sense to track the field module more closely.
| Attachment | Size |
|---|---|
| useoldjquery.diff | 547 bytes |
