Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kpacaba11 created an issue. See original summary.

sergeimalyshev’s picture

tomdisher’s picture

#2 worked for me, thanks!

arefen’s picture

patch #2 doesn't work for me.

sergiivelykodnyi’s picture

patch #2 worked for me. Thank you!

Anonymous’s picture

Patch #2 cause a Jquery error with version 1.10.

You should also add the following code on line 367

drupal_add_library('system', 'drupal.ajax', TRUE);

Sorry I don't have access to GIT at the moment.

MrPaulDriver’s picture

The patch appears to be broken.

git apply -v ajax_teaser_block-2703899-2-D7.patch
error: corrupt patch at line 13
patch < ajax_teaser_block-2703899-2-D7.patch
patching file dc_ajax_add_cart.module
patch: **** malformed patch at line 12:  

Applied to 7.x-2.1

Can anyone help?

subhojit777’s picture

try this:

- cd inside the module directory
- patch -p1 < dc_ajax_add_cart.module

MrPaulDriver’s picture

Quick reply. Thanks. Didn't work though.

MacBook-Pro:dc_ajax_add_cart paul$ patch -p1 < dc_ajax_add_cart.module
patch: **** Only garbage was found in the patch input.
MrPaulDriver’s picture

Any chance of a dev commit with the patch applied?

MrPaulDriver’s picture

I also tried to apply manually, but the line to be replaced doesn't seem to match. I guess this is why the patch is failing.

subhojit777’s picture

You are using 2.1 version?

subhojit777’s picture

MrPaulDriver’s picture

Yes 2.1 . Have not tried 1.3

Thanks for the links. Sorry to say, still finding exactly the same problem when trying to apply the patch.

subhojit777’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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