On the form the add more items button is not working so I can't have more than 3 items in a reservation.

Comments

avguy’s picture

Status: Active » Fixed

This works now - setting to fixed.

Status: Fixed » Closed (fixed)

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

libkuman’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Status: Closed (fixed) » Needs work

This behavior is now happening in the 2.x branch but only in certain circumstances

Steps to reproduce
1. Go to make a new reservation
2. Select another user in the "Reserve for" field
3. Add 3 items, then click the "Add more items" button, nothing happens

If you save that reservation and go back to it you are allowed to add more items. Likewise, if you make a new reservation and don't change the user in the "Reserve for" field the button works.

kreynen’s picture

Project: Reservations » Community Media Theme
Status: Needs work » Needs review

There was actually a javascript error in an older version of cm_theme. I think this is why is was resolved for @avguy without changing reservations. I just fixed this for MNN without upgrading cm_theme. There are several changes in cm_theme and I don't want to get into troubleshooting those now too. This is the error...

Uncaught TypeError: Property '$' of object [object Window] is not a function /sites/all/themes/cm_theme/plugins/jquery.showhide.js

In addition to an actaul error, the add more items button only adds additional fields when an item has been selected in the last field.

kreynen’s picture

Status: Needs review » Fixed

I just fixed this again in the 1.x branch. Hopefully that's the last commit to the Omega based theme.

Status: Fixed » Closed (fixed)

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