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.
After installing Ajax cart I have been upable to update/remove images/links etc... in the node/%/edit. How do I resolve this. Once I uninstall this module everything returns to normal and works.
Comment | File | Size | Author |
---|---|---|---|
2013-08-07_12-28-01.png | 47.68 KB | tboornaz |
Comments
Comment #1
cruze72 CreditAttribution: cruze72 commented+1
Comment #2
stewart.adam CreditAttribution: stewart.adam commentedWhat browser are you using? Do you find any errors in the JavaScript console?
Comment #3
cruze72 CreditAttribution: cruze72 commentedI can confirm that this occurs in Firefox, Chrome and Safari. have not tested in IE.
I don't see any JS errors ....
Comment #4
cruze72 CreditAttribution: cruze72 commentedFurther to the last comment, this problem basically affects anything user the ajax throbber but definitely includes:
- removal of content images (cannot be removed)
- adding content images (throbber 'hangs' but adds image)
- checkout changing country (hangs but changes country on page refresh)
These all work correctly when the ajax cart is disabled
Thanks
Comment #5
cruze72 CreditAttribution: cruze72 commentedSolved!
Disable the Jquery Update module. Something conflicts ... i don't know what but everything works fine with this module disabled.
Comment #6
maciequs CreditAttribution: maciequs commentedNot solved but workaround. I must use Jquery Update for some advanced functions and I can not simply disabled it.
Im using Jquery Update 1,7
need fix +1
Comment #7
fantom84 CreditAttribution: fantom84 commentedfirebug show error in the misc/jquery.form.js
with TypeError: b.handleError is not a function
I found this file is using by ajax cart module on init: line -> drupal_add_js('misc/jquery.form.js')
solution for me (drupal 7.24, jQuery 1.5) is downgrade jquery.form.js to version 2.67 (this file is from jquery update 7.x-2.2) from 2.69 (this file is default in jquery update v 7.x-2.3)
so, for me bug was in module jquery update 7.x-2.3
Comment #8
hejeva CreditAttribution: hejeva commentedSeeing the same as in #7: TypeError: b.handleError is not a function whenever I try upload or remove an image in any content file field.
I didn't find going back jquery.form.js v 2.67 solved the issue.
Temporary fix is to turn off and not use ajax driven cart. Client would like this feature though so would like to see this issue resolved.
Comment #9
fantom84 CreditAttribution: fantom84 commentedok, i think i found the bug:
module uc_ajax_cart, file uc_ajax_cart.module:
in the function uc_ajax_cart_init() we need change the line drupal_add_js('misc/jquery.form.js')
Description: we must add core js with drupal_add_library not with drupal_add_js https://drupal.org/node/756722
Comment #10
hejeva CreditAttribution: hejeva commentedThanks fantom84. Confirmed that it fixes the issue.
Comment #11
stewart.adam CreditAttribution: stewart.adam commentedCommitted, thanks fantom84.