Uncaught Error: Syntax error, unrecognized expression: ui/template/modal/modal-popup.html 2.4.0
custom.js
popupTpl: "ui/template/modal/modal-popup.html",
jquery.js:1508 Uncaught Error: Syntax error, unrecognized expression: ui/template/modal/modal-popup.html
at Function.Sizzle.error (jquery.js:1508)
at Sizzle.tokenize (jquery.js:2165)
at Sizzle.select (jquery.js:2586)
at Function.Sizzle (jquery.js:909)
at Function.jQuery.find (jquery-migrate.js:290)
at jQuery.fn.init.find (jquery.js:2832)
at jQuery.fn.init.jQuery.fn.find (jquery-migrate.js:677)
at jQuery.fn.init (jquery.js:2955)
at new jQuery.fn.init (jquery-migrate.js:241)
at jQuery (jquery.js:80)
asked Jan 28, 2021 at 10:45
Ravindrasinh Zala
2,1573 gold badges17 silver badges49 bronze badges
1 Answer 1
You do not need to define the popupTpl value if you are going to use default template.
Please remove popupTpl options and try again. If you still face the same issue please share your custom.js file code.
Thanks
answered Jan 29, 2021 at 6:31
ZealousWeb
2,1561 gold badge5 silver badges16 bronze badges
default