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

bojanz’s picture

Assigned: Unassigned » Cookiz
Cookiz’s picture

Hi 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.

Cookiz’s picture

Assigned: Cookiz » bojanz
Status: Active » Needs review
bojanz’s picture

Assigned: bojanz » Unassigned
Status: Needs review » Fixed

Tested, merged.

Status: Fixed » Closed (fixed)

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