Found that the embedded .js from the share this module would make it so you could not add any new view panes to the layout if any view panes had the sharethis field within. Attached a patch that adds an admin option to have embedded script tags stripped out with a regular expression.

Files: 

Comments

Project:Panopoly Magic» Panopoly

Moving to main queue for review

Title:Javascript issue when using sharethisAdd Option to Conditionally Strip JS from Previews
Status:Active» Fixed

Looks smart. Reviewed + Pushed. Ideally there would be better hardening of the preview containers, but this helps.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.