devbridge/BetterCMS

Widget usages: errors in console and unexpected behavior after opening some item from usages list

Opened this issue · 0 comments

Open browser console and create widget1:

  1. add widget1 to some page/blog/template -> open widget1 usages list (from widgets list) -> click on Edit icon near page: new tab with page data will be opened. Open previous tab: page properties edit is opened there and error in console (bcms.root.min.js:16 Uncaught Error: Syntax error, unrecognized expression: #). Now any click in usages list will throw one more error.
  2. add it to some other widget (widget2) -> open widget1 usages list -> click on Edit icon near HTML widget: widget2 edit mode will be opened, error in console will be thrown. Press cancel or save in widget2 edit mode: spinner will appear and usages list won't be opened unless you will click on Cancel/Save once more.