Gallery field JS error
Gallery field generate Fatal JS error in the add entry form at front and back-end:
jquery.min.js?4a8ad77…:2 Uncaught Error: Syntax error, unrecognized expression: data-role=primary
at Function.fa.error (jquery.min.js?4a8ad77…:2)
at fa.tokenize (jquery.min.js?4a8ad77…:2)
at Function.fa (jquery.min.js?4a8ad77…:2)
at Function.a.find (jquery-migrate.min.js?4a8ad77…:2)
at a.fn.init.find (jquery.min.js?4a8ad77…:2)
at a.fn.init.a.fn.find (jquery-migrate.min.js?4a8ad77…:2)
at HTMLDivElement.<anonymous> (field_gallery_edit.js:72)
at Function.each (jquery.min.js?4a8ad77…:2)
at a.fn.init.each (jquery.min.js?4a8ad77…:2)
at HTMLDocument.<anonymous> (field_gallery_edit.js:21)
This error breaks working of the GeoMap module, category field in SigsiuTree mode or Entries module in the Ajax mode. Seems like it also affect some gallery functionalities like changing images order or making it primary