view inkscape/firefox/content/MadBuilderOverlay.js @ 1419:3519f43da037

Check old component before hiding it for a component switching. Ref: ticket #37 in assembla - Scribboo try to hide old component before switching to new one. But, old one was already removed. It cause an error. - This is fixed by checking old component if it is still existed before hiding it.
author Thinker K.F. Li <thinker@codemud.net>
date Thu, 07 Apr 2011 13:45:07 +0800
parents 63aaf96209cd
children
line wrap: on
line source

function start_madbuilder() {
    var url = "chrome://MadBuilder/content/madbuilder.html";
    var browser = document.getElementById("content");

    browser.loadURI(url, null, null, true);
}