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

Getting JS error when switch All day Event meta #30

Closed
qutub-bharmal opened this issue Aug 22, 2018 · 1 comment
Closed

Getting JS error when switch All day Event meta #30

qutub-bharmal opened this issue Aug 22, 2018 · 1 comment

Comments

@qutub-bharmal
Copy link

When I change All Day Event switch in event metabox it does not work first time and give below error:

Uncaught RangeError: Invalid time value
    at Date.toISOString (<anonymous>)
    at HTMLDivElement.<anonymous> (scripts.js?ver=2.7.19:99)
    at Function.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,backbone,moxiejs,plupload&ver=4.9.7:2)
    at a.fn.init.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,backbone,moxiejs,plupload&ver=4.9.7:2)
    at HTMLInputElement.<anonymous> (scripts.js?ver=2.7.19:79)
    at HTMLInputElement.dispatch (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,backbone,moxiejs,plupload&ver=4.9.7:3)
    at HTMLInputElement.r.handle (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,backbone,moxiejs,plupload&ver=4.9.7:3)

Latest WP, Plugin and fresh installation. no extra plugin or theme added.

File in Which it gives me error:
https://github.com/ThemeFuse/Unyson-Events-Extension/blob/master/includes/option-types/event/static/js/scripts.js#L99

Can you please check.

@qutub-bharmal
Copy link
Author

Any Update Please ?

player0k added a commit to player0k/Unyson-Events-Extension that referenced this issue Dec 31, 2018
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

No branches or pull requests

1 participant