Closed (fixed)
Project:
UC Wish List
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Reporter:
Created:
16 Jan 2013 at 10:10 UTC
Updated:
26 Apr 2013 at 07:04 UTC
Jump to comment: Most recent
Having two or more products - with "Add to wish list" button - on same page (i.e. a views block showing related products) would break strict w3 validation, since the input buttons are using same id.
Wouldn't it be better in some way to change
<input id="edit-wishlist" class="form-submit ">
to
<input class="form-submit edit-wishlist">
?
Comments
Comment #1
Anonymous (not verified) commentedHi miccelito,
You are right.As I am very much friendly with this module.This happened due to the code as this will add Add to Wishlist button in the Add to cart form using the form alter.As this is not a big issue so I changed its Priority to minor.
Comment #2
miccelito commentedGreat you're very familar with the module. Then maybe you can tell where in the codes I can remove the
id="edit-wishlist"part. (Adding a new class is easy so that's not a problem tho..)Comment #3
Anonymous (not verified) commentedHi miccelito,
Replace the code at line 265 in uc_wishlist.module file.
with
This will do it.
Comment #4
miccelito commentedDid your mean
Right?
Comment #5
Anonymous (not verified) commentedYa :)
Comment #6
Anonymous (not verified) commentedfixed