Commit Graph

65 Commits

Author SHA1 Message Date
splashingpixels 76021004c1 external product review link not opening on load fixes #5008 2014-03-01 12:10:25 -08:00
James Koster d4c2d54b0d js fix #4629 2014-02-06 09:36:55 +00:00
James Koster 2b8ef5101f review pagination. closes #4629 2014-02-05 12:40:15 +00:00
toddlahman 13c24b410e Removed (document).ready from jQuery scripts
jQuery(document).ready(function($) { is equivalent to calling
jQuery(function($) {.

http://api.jquery.com/ready/
2014-01-30 18:44:17 -08:00
Jared Cobb 9fc47db17f Make frontend scripts safe to run on non WC pages (check for objects)
For a more detailed explaination of why this is helpful, see
Issue #4202. In short, from a dev ops perspective, if we want to build /
concatonate our front end scripts into a single application.js file, we
need to ensure scripts first check for dependent global object helpers
before trying to use them. For example, there are several objects
(created via PHP using `wp_localize_script`) which generate objects such
as `wc_single_product_params`. These objects will not exist on most
other pages, however these scripts attempt to execute code that
references these objects.
2013-12-04 12:15:24 -07:00
Mike Jolley b4d1c764d5 Move average rating outside of hidden tab. Closes #3867. 2013-10-31 16:26:20 +00:00
Justin Stern e584ea83a2 Fixed Multiple Sets of Tabs on One Page Bug
When clicking on a tab on a page with multiple sets of products/tabs,
other products/tabs were influenced due to a missing jquery context
element
2013-10-03 14:23:50 -04:00
Mike Jolley 4f0320fdb2 Refactor frontend scripts #3165 2013-06-11 13:31:41 +01:00
Mike Jolley 6bcb33f74a Fix reviews Closes #2378. 2013-02-11 15:37:26 +00:00
James Koster ac70b46867 more prettyPhoto 2013-01-31 14:15:55 +00:00
James Koster 5302eb019f css class name consistency #2086 2013-01-03 11:40:10 +00:00
Mike Jolley 5507e8453f Remove depricated jQuery Closes #2039 2012-12-28 13:02:12 +00:00
Mike Jolley c394119983 Ajax view cart. Closes #1948. 2012-12-10 13:11:05 +00:00
Mike Jolley c1c5cd6890 Prevent double form submission. Closes #1609. 2012-10-17 12:21:50 +01:00
Mike Jolley 30b8ddaf1d Split up frontend scripts so they can be loaded when needed. 2012-07-17 15:09:18 +01:00