Closed (fixed)
Project:
Commerce Kickstart
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Aug 2012 at 09:52 UTC
Updated:
20 Aug 2012 at 10:31 UTC
Hi,
on my commerce_kickstart installation with no demo content, the product-image switch on the detail page did not work.
Chrome console said that ".spinner()" is not a function... This error happened because of "Drupal.behaviors.quantityWidgetSpinner“ in the product_ui feature js file.
I found a fix for this! Just add this line to your template.php preprocess_html function:
drupal_add_library('system', 'ui.widget');
Please fix this! :)
Greetings and thx a lot for commerce_kickstart
Comments
Comment #1
bojanz commentedComment #2
cookiz commentedHi axe1312, thanks for finding a fix for that ;)
So instead of loading ui.widget library into the theme,
we added a dependency when loading spinner.js in commerce_kickstart_ui hook_library.
Comment #3
cookiz commentedhttps://code.drupalcommerce.org/#/c/260/
Comment #4
bojanz commentedTested, merged.