You can reproduce the error when you try to add a dmsf link in either an issue or in the dmsf project module itself.
2) Uncaught TypeError: $(...).select2 is not a function
The second error occurs as soon as the view dmsf_links/_form.html.erb is loaded. The consequence is that the user won`t be able to create an external link. Though this error does not affect the link creation on issues.
Hi @picman,
I stumpled upon two bugs with the dmsf link functionality. The bugs are located in version 3.1.0 and probably also in lower versions:
1) Wrong number of arguments in DmsfLinksHelper#files_for_select
You can reproduce the error when you try to add a dmsf link in either an issue or in the dmsf project module itself.
2) Uncaught TypeError: $(...).select2 is not a function
The second error occurs as soon as the view
dmsf_links/_form.html.erb
is loaded. The consequence is that the user won`t be able to create an external link. Though this error does not affect the link creation on issues.Both errors will be fixed with this PR.
I am happy to help you!
@liaham