# HG changeset patch # User drewp@bigasterisk.com # Date 2017-06-11 22:16:15 # Node ID dd868395ccd1ff0e69761f7d9c83ed1e69644225 # Parent f9aab7275d4e88ed4dd71f74cb377624be729a49 guard against corrupt drops into timeline. i was getting some ':effectClass <>' in logs Ignore-this: 70b460992912a6922140cc2b577423d1 diff --git a/light9/web/timeline/timeline.coffee b/light9/web/timeline/timeline.coffee --- a/light9/web/timeline/timeline.coffee +++ b/light9/web/timeline/timeline.coffee @@ -303,6 +303,8 @@ Polymer onDrop: (effect, pos) -> U = (x) => @graph.Uri(x) + return unless effect and effect.match(/^http/) + # we could probably accept some initial overrides right on the # effect uri, maybe as query params