Post by pp_Rick » Tue Jan 31, 2012 7:06 pm

Found a bug in return_form.tpl. A span-tag is missing in the remove-button (a-tag) on rule #121.

Wrong:

Code: Select all

<a onclick="$('#return-product-row<?php echo $return_product_row; ?>').remove();" class="button"><?php echo $button_remove; ?></a>
Correct:

Code: Select all

<a onclick="$('#return-product-row<?php echo $return_product_row; ?>').remove();" class="button"><span><?php echo $button_remove; ?></span></a>

Newbie

Posts

Joined
Tue Jan 31, 2012 6:43 pm

Post by pp_Rick » Thu Feb 02, 2012 7:43 pm

Also found this piece of script you also have to edit on rule #177:

Code: Select all

html += '    <div class="return-remove"><a onclick="$(\'#return-product-row' + return_product_row + '\').remove();" class="button"><span><?php echo $button_remove; ?></span></a></div>';
Just added the span-tags here.

Newbie

Posts

Joined
Tue Jan 31, 2012 6:43 pm

Post by straightlight » Thu Feb 02, 2012 10:57 pm

Either missing or it's the </span> that must rather be removed. Hard to say between the two which one it would really be here. ;)

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by pesha.cz » Wed Apr 25, 2012 6:37 pm

Thanks for the tip.
straightlight wrote:Either missing or it's the </span> that must rather be removed. Hard to say between the two which one it would really be here. ;)
Don't think so. There's neither opening nor closing tag, and I believe that there has to be the span inside the link in order to display the button correctly.

Newbie

Posts

Joined
Fri Jan 27, 2012 5:20 am

Post by ann04 » Wed Apr 25, 2012 7:03 pm

Thanks for sharing. :)

All kinds of premium wordpress themes are here.


User avatar
Newbie

Posts

Joined
Mon Apr 16, 2012 5:50 pm
Who is online

Users browsing this forum: No registered users and 9 guests