return [ label, copies ];
}
);
- alert( window.app_shell );
+ //alert( window.app_shell );
try {
spawn_spine_label_wizard(document,'new_window','',{ 'spine_labels' : spine_labels });
} catch(E) {
}
w.params = passthru_params;
w.mw = mw;
- if (placement == 'new_tab' || placement == 'replace_tab') w.app_shell = d; else w.app_shell = app_shell;
+ if (placement == 'new_tab' || placement == 'replace_tab') {
+ w.app_shell = d;
+ } else {
+ if (typeof app_shell != 'undefined') w.app_shell = app_shell;
+ }
return w;
}