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

Unable to populate <option> list with previously saved json brackets #1

Closed
wwwizzarrdry opened this issue Nov 10, 2012 · 3 comments
Closed
Labels

Comments

@wwwizzarrdry
Copy link

The json encoding done with jquery.json-2.2.js works fine (The bracket information is stored correctly in the data/ directory).
However, when I reload the page, none of the saved brackets populate in the drop down list to select.
Any ideas on howto get this functionality working?

Nice work. Easily the best looking and functioning tournament scheduler i've seen,

--Ian

@teijo
Copy link
Owner

teijo commented Nov 11, 2012

Are you referring to the jQuery Bracket server demo? If yes, you should check the error logs of which ever browser you're working on (and maybe your webserver's too). The drop-down works just fine on vanilla IE, Firefox and Chrome.

Have you put any restrictions on your browser's JavaScript execution? The drop-down is populated by Ajax call.

@wwwizzarrdry
Copy link
Author

Dropped it on my linux server and it worked fine. Must have been a configuration issue somewhere in my WAMP setup, although error logs yielded nothing useful or relevant; so that remains a mystery. Thanks for the tip though. If I ever get around to implementing your design, I'll be sure to share the results. Again, great work. I love how you tackled this project. My pure html+png design felt sloppy and antiquated in comparison.

@teijo
Copy link
Owner

teijo commented Nov 12, 2012

That's odd, especially since writing the files to the path worked just fine. If you used WAMP in Windows, maybe it's some bug with PHP and slashes in the file path? Next add some debug prints :)

Thanks and good luck!

@teijo teijo closed this as completed Nov 12, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants