Skip to content

Bug fix/appointment.js#findHours#3

Open
tihuan wants to merge 4 commits into
Leveton:masterfrom
tihuan:BugFix/appointment.js#findHours
Open

Bug fix/appointment.js#findHours#3
tihuan wants to merge 4 commits into
Leveton:masterfrom
tihuan:BugFix/appointment.js#findHours

Conversation

@tihuan
Copy link
Copy Markdown

@tihuan tihuan commented Jul 4, 2014

Bug:

"Uncaught Error: Syntax error, unrecognized expression: . ", which is caused by declaring var final_array = "." when hours_array contains empty strings.

Fix:

Pass @new_dates from appointments_controller to findHours as a JSON object to avoid dealing with HTML string all together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant