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

ajax request doesn't work json file on freeboard #277

Open
lau175 opened this issue Mar 27, 2021 · 2 comments
Open

ajax request doesn't work json file on freeboard #277

lau175 opened this issue Mar 27, 2021 · 2 comments

Comments

@lau175
Copy link

lau175 commented Mar 27, 2021

I'm trying to upload the dashboard by adding this in index-dev.html, but it doesn't work. it returns a black page

$.ajax("/examples/weather.json", { 'async': true, 'method': 'get', 'success': function(data, status, xhr) { freeboard.loadDashboard(data); }; })

@bernietai
Copy link

@lau175 do you get any messages in Javascript console?

@lau175
Copy link
Author

lau175 commented Apr 8, 2021

@lau175 do you get any messages in Javascript console?

it gives me Uncaught ReferenceError: Unable to process binding "click: function(){return saveDashboardClicked }"
Message: saveDashboardClicked is not defined

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

2 participants