Velir/SitecoreFieldSuite — pull request #3 by erzr (2012-12-14 21:12:54+00:00)
Title: fixed missing sitecore item in treelist bug

Hey Tim,

I noticed this bug where if you have a broken item linked in a treelist, it was throwing javascript errors. It ended up just being a missing single quote. After fixing that, I noticed the logic wasn't hooked up to remove these items from the treelist without switching to raw values so I implemented a basic version of it. I also removed the second string format in AddRemoveHtml because it was causing problems if you passed it a string with an item id.

Adam