Community
Participate
Working Groups
Before 0.4M1 , the compare widget could only be injected into another dojo border container. We should make it inject-able into any DIV. So should the search/replace preview.
fixed with http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=eefc17945d12965acdbacd94684cee8b9a9c1a53. Thanks Anton for the suggestions and Susan for "triggering" the issue out.
Just want to post the snippet as the trick here. Suppose you have the parentDivId as any DIV. var marginBox = dojo.marginBox(parentDivId); var topWidget = new dijit.layout.BorderContainer({id: topWidgetId, width: marginBox.w, height: marginBox.h, region:"center", gutters:false ,design:"headline", liveSplitters:true, persist:false , splitter:true }); topWidget.placeAt(parentDivId); topWidget.startup();