Hi richterd,
You should also need Groups_UIE::render_select(‘.class_name_of_the_select_tag’);
or
Groups_UIE::render_select(‘#id_name_of_the_select_tag’);
right after the select tag is inserted.
Cheers
Are we talking about the same problem?
My issue is, that the selectize script which is used by the Groups plugin is only enqueued on the “upload.php” page.
But if you use the media library in other places, $pagenow is not equal to “upload.php” and then the script is missing.
Hi Guys,
Any resolution on this? I’m running into the same issue using a custom post-type for our plugin.
Is there a simple workaround if not an updated fix?
Thanks!
Hi,
I managed to replicate the issue on my installation.
If you choose the custom post type you created under Groups > Options, the issue is resolved.
Cheers,
George
Using Groups Restrict Categories. Just recently I am experiencing the same error. I’ve disabled all other plugins but this error remains and all JS on the page dies.
Any assistance greatly appreciated!
Error on Download Categories > Edit Category admin screen:
term.php?taxonomy=wpdmcategory&tag_ID=498&post_type=wpdmpro&wp_http_referer=%2Fwp-admin%2Fedit-tags…:712
Uncaught TypeError: jQuery(...).selectize is not a function
at HTMLDocument.<anonymous> (term.php?taxonomy=wpdmcategory&tag_ID=498&post_type=wpdmpro&wp_http_referer=%2Fwp-admin%2Fedit-tags…:712)
at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7.3:2)
at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7.3:2)
at Function.ready (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7.3:2)
at HTMLDocument.K (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7.3:2)