Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The date fields are not working #278

Closed
xh3n1 opened this issue Aug 7, 2017 · 3 comments
Closed

The date fields are not working #278

xh3n1 opened this issue Aug 7, 2017 · 3 comments
Assignees
Labels
4. to release Ready to be released and/or waiting for tests to finish bug Something isn't working medium Medium priority
Milestone

Comments

@xh3n1
Copy link
Member

xh3n1 commented Aug 7, 2017

Steps to reproduce

Pick a date on the birthday or Date of death fields.

Expected behaviour

The date should be picked. For example: 12/05/1994

Actual behaviour

I can't pick the date.

Server configuration

Operating system:
Ubuntu 16.04

Nextcloud version: (13.0.0 alpha)

Contacts version: (1.5.4)

Browser log


a) The console log
uncaught exception: Missing instance data for this datepicker
"Error: [ngRoute:norout] Tried updating route when with no current route
 ...
@skjnldsv
Copy link
Member

skjnldsv commented Aug 7, 2017

This is related to a recent change to the jQuery calendar picker script
The clickable elements are now links with a href defined by a hash
<a class="ui-state-default" href="#">9</a>

This initiate a change in the url and angular is debuging the fact that this hash is invalid

Fix: use javascript:void(0) and not #

@skjnldsv skjnldsv added the invalid This doesn't seem right label Aug 7, 2017
@skjnldsv
Copy link
Member

skjnldsv commented Aug 7, 2017

I need to investigate, but this should come from server. :)

@skjnldsv skjnldsv added 1. to develop Accepted and waiting to be taken care of bug Something isn't working medium Medium priority and removed invalid This doesn't seem right labels Aug 8, 2017
@skjnldsv skjnldsv added this to the 1.5.4 milestone Aug 8, 2017
@skjnldsv skjnldsv self-assigned this Aug 8, 2017
@skjnldsv
Copy link
Member

skjnldsv commented Aug 8, 2017

Can't be changed server side. This is messing with the angular routeProvider.
Will fix asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug Something isn't working medium Medium priority
Projects
None yet
Development

No branches or pull requests

2 participants