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.

Members fund testing for the Drupal project. Drupal Association Learn more


populist’s picture

Project: Panopoly Magic » Panopoly

Moving to main queue for review

populist’s picture

Title: Javascript issue when using sharethis » Add 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.