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
I am trying to get jqueryfiletree to work. But I'm stuck figuring out what parameters go into your helper functions:
create_doc_tree(id, tree_url, content_url, opts = {})
and
render_doc_tree(parent, dir)
Could you please help me out on how to use the two helper functions in your JqueryFileTree::DocTreeHelper and maybe given example on how to setup the jqueryfiletree in redmine_bootstrap_kit ?
I think it should look something like this, but how does the 'parent' and the 'dir'- array parameter have to look like?
I am trying to get jqueryfiletree to work. But I'm stuck figuring out what parameters go into your helper functions:
create_doc_tree(id, tree_url, content_url, opts = {})
and
render_doc_tree(parent, dir)
Could you please help me out on how to use the two helper functions in your JqueryFileTree::DocTreeHelper and maybe given example on how to setup the jqueryfiletree in redmine_bootstrap_kit ?
I think it should look something like this, but how does the 'parent' and the 'dir'- array parameter have to look like?
<% content_for :header_tags do %>
<%= bootstrap_load_base %>
<%= jquery_file_tree_load_base %>
<% end %>
<%= create_doc_tree('mytree', '/tree_base_dir/', '/tree_base_dir/', opts = {}) %>
<%= render_doc_tree(parent, dir) %>
Many Thanks!
The text was updated successfully, but these errors were encountered: