Page builder widget modal dialog problem
We were having an issue with the modal dialog that is used to pick the content for a ContentBlock widget. There was a strange display problem, the content picker controls were copied to the html behind the modal dialog as well as in the dialog.. It's hard to describe so I attached an screenshot of the issue.
After much debugging...
The reason it is happening is because we have two form elements on the page (The runat='server' asp form tag, and the search box in the upper right corner which uses a form tag)
The cause of the issue seems to be this line in the WidgetTray.js file:
Line 581: modalcontent.prependTo("form");
This causes the dialog html to be placed on the page twice and generally breaks everything
Our temporary solution is to get rid of the search form (not ideal obviously) which fixes the page.
Are you guys aware of this issue? Any recommendations on a more permanent solution?