devbridge / BetterCMS

A publishing focused and developer friendly .NET Open Source CMS.
GNU Lesser General Public License v3.0
375 stars 151 forks source link

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

Open daivabrazukaite opened 8 years ago

daivabrazukaite commented 8 years ago

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.