django-nested-admin > 3.1.4 is not working correctly with django-filebrowser. It is due to changed regexp for replacing prefix with id of the object. Django-filebrowser uses this rendered id as argument for function to show filebrowser window. It seems that new regexp is not handling replacing string if that string is used inside js function call - see the example below:
<input id="id_cad_models-10-file" type="text" class="vFileBrowseField" name="cad_models-10-file" value=""><a href="javascript:FileBrowser.show('id_cad_models-__prefix__-file', '/admin/filebrowser/browse/?pop=1&dir=products');" class="fb_show"></a>
Tested with configuration as follows:
django-nested-admin==3.2.4
django-filebrowser==3.12.1
Django==2.2.7
Thanks for the bug report. Could you post a simplified example of how you're using filebrowser inside an inline, so I can write a regression test for this?
django-nested-admin > 3.1.4 is not working correctly with django-filebrowser. It is due to changed regexp for replacing prefix with id of the object. Django-filebrowser uses this rendered id as argument for function to show filebrowser window. It seems that new regexp is not handling replacing string if that string is used inside js function call - see the example below:
<input id="id_cad_models-10-file" type="text" class="vFileBrowseField" name="cad_models-10-file" value=""><a href="javascript:FileBrowser.show('id_cad_models-__prefix__-file', '/admin/filebrowser/browse/?pop=1&dir=products');" class="fb_show"></a>
Tested with configuration as follows: django-nested-admin==3.2.4 django-filebrowser==3.12.1 Django==2.2.7