AnsweredAssumed Answered

Bug when iframing entire page

Question asked by Jerod Venema on May 19, 2016

Hey all,


I've hit a bug in the current implementation. In the main page, this code exists:


if (parent.window != window && typeof(parent.SUGAR.App.router) != "undefined") {


The problem is that throws an exception when embedded in an iframe. I need to load the entire Sugar instance in a frame, and I can resolve this one issue, I'll be good to go. Just a try/catch around that is fine...