{"action":"created","issue":{"url":"https://api.github.com/repos/crits/crits/issues/536","labels_url":"https://api.github.com/repos/crits/crits/issues/536/labels{/name}","comments_url":"https://api.github.com/repos/crits/crits/issues/536/comments","events_url":"https://api.github.com/repos/crits/crits/issues/536/events","html_url":"https://github.com/crits/crits/issues/536","id":94105188,"number":536,"title":"Dashboards not working after upgrade from CRITs 3.1 to stable_4","user":{"login":"seanthegeek","id":44679,"avatar_url":"https://avatars.githubusercontent.com/u/44679?v=3","gravatar_id":"","url":"https://api.github.com/users/seanthegeek","html_url":"https://github.com/seanthegeek","followers_url":"https://api.github.com/users/seanthegeek/followers","following_url":"https://api.github.com/users/seanthegeek/following{/other_user}","gists_url":"https://api.github.com/users/seanthegeek/gists{/gist_id}","starred_url":"https://api.github.com/users/seanthegeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanthegeek/subscriptions","organizations_url":"https://api.github.com/users/seanthegeek/orgs","repos_url":"https://api.github.com/users/seanthegeek/repos","events_url":"https://api.github.com/users/seanthegeek/events{/privacy}","received_events_url":"https://api.github.com/users/seanthegeek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-09T17:16:23Z","updated_at":"2015-07-09T17:28:52Z","closed_at":null,"body":"After an upgrade to CRITs stable_4, everything works fine except the dashboards:\r\n\r\n[Screenshot](https://imgur.com/KIob0QC)\r\n\r\nIt appears to be caused by a problem with templating, or JavaScript/AJAX.\r\n\r\nFrom the browser console:\r\n>SyntaxError: expected expression, got ',' 127.0.0.1:8080:194:31\r\n>SyntaxError: expected expression, got ',' 127.0.0.1:8080:246:31\r\n>SyntaxError: expected expression, got ',' 127.0.0.1:8080:298:31\r\n>SyntaxError: expected expression, got ',' 127.0.0.1:8080:352:31\r\n>SyntaxError: expected expression, got ',' 127.0.0.1:8080:404:31\r\n>SyntaxError: expected expression, got ',' 127.0.0.1:8080:456:31\r\n\r\nBrowser source snipit:\r\n\r\n```\r\n<div style=\"width: 100%; margin-bottom: 10px;\">\r\n    <div class='content_body'>\r\n        <div id=''></div>\r\n    </div>\r\n</div>\r\n<script type=\"text/javascript\">\r\n            $(document).ready(function() {\r\n                $('#').jtable({\r\n                    \"title\": \"\",\r\n                    \"sorting\": ,\r\n                    \"paging\": ,\r\n                    \"pageSize\": ,\r\n                    \"pageSizes\": [, 10, 25, 50, 100, 250, 500],\r\n                    \"defaultSorting\": \"\",\r\n                    \"jqueryuiTheme\": true,\r\n                    \"multiSorting\": ,\r\n                    \r\n\r\n                    \"recordsLoaded\": function(event,data) { \r\n  \t                                   jtRecordsLoaded(event,data,\"\"); \r\n \t                },\r\n                    \"actions\": {\r\n                        \r\n                        \r\n                        \r\n                    },\r\n                    \"fields\": {\r\n                        \r\n                    }\r\n                });\r\n\r\n                $('#').jtable('load');\r\n\r\n            });\r\n\r\n</script>\r\n```\r\n\r\nI've ran `python manage.py create_default_dashboard -d` And the issue remains.\r\n\r\nDashboards in Mongo:\r\n\r\n```\r\n> db.dashboard.findOne()\r\n{\r\n        \"_id\" : ObjectId(\"559e7584884e7f29bfe1122c\"),\r\n        \"schema_version\" : 1,\r\n        \"name\" : \"Default\",\r\n        \"theme\" : \"default\",\r\n        \"isPublic\" : true,\r\n        \"hasParentChanged\" : false\r\n}\r\n```\r\n\r\nDoes anyone know what is going wrong, and how I can fix it?"},"comment":{"url":"https://api.github.com/repos/crits/crits/issues/comments/120079801","html_url":"https://github.com/crits/crits/issues/536#issuecomment-120079801","issue_url":"https://api.github.com/repos/crits/crits/issues/536","id":120079801,"user":{"login":"mgoffin","id":260873,"avatar_url":"https://avatars.githubusercontent.com/u/260873?v=3","gravatar_id":"","url":"https://api.github.com/users/mgoffin","html_url":"https://github.com/mgoffin","followers_url":"https://api.github.com/users/mgoffin/followers","following_url":"https://api.github.com/users/mgoffin/following{/other_user}","gists_url":"https://api.github.com/users/mgoffin/gists{/gist_id}","starred_url":"https://api.github.com/users/mgoffin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgoffin/subscriptions","organizations_url":"https://api.github.com/users/mgoffin/orgs","repos_url":"https://api.github.com/users/mgoffin/repos","events_url":"https://api.github.com/users/mgoffin/events{/privacy}","received_events_url":"https://api.github.com/users/mgoffin/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T17:28:52Z","updated_at":"2015-07-09T17:28:52Z","body":"Try clearing browser cache and bouncing your web server. Might be old JS trying to load. I know it works as-is on several of my instances so investigating local issues first would be best."}}