hi
i'm trying to dynamically create tabs by pressing a button. The idea is that the user can continue using that tab to navigate
this is the script for my button
var tabs = dijit.byId("tabs");
var pane = new dijit.layout.ContentPane({ title:"Búsqueda paciente", href:"/hola" });
dojo.mixin(pane, {closable: true, onClose: testClose });
tabs.addChild(pane,1);
tabs.selectChild(pane);
Everything works fine here. The new tab is created and "hola.phtml" appears. In "hola.phtml" i have a link to another of my pages. when i press it the new tab disappears and the linked page appears in the "original" tab.. any ideas?
