You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When kobocat is being run under a URI prefix instead of a subdomain, it is not possible to add/edit notes for submissions. The API endpoint is hardcoded and will 404.
I will change that and create a PR. I need to get the KOBOCAT_ROOT_URI_PREFIX into the scope available to onadata/apps/viewer/static/js/instance.js.
I think the best way is to create a template context processor to include KOBOCAT_ROOT_URI_PREFIX in the template context and then inject the JS var into base.html.
When kobocat is being run under a URI prefix instead of a subdomain, it is not possible to add/edit notes for submissions. The API endpoint is hardcoded and will 404.
I will change that and create a PR. I need to get the
KOBOCAT_ROOT_URI_PREFIX
into the scope available toonadata/apps/viewer/static/js/instance.js
.I think the best way is to create a template context processor to include
KOBOCAT_ROOT_URI_PREFIX
in the template context and then inject the JS var into base.html.This is related to #298
The text was updated successfully, but these errors were encountered: