main.menu = function () {
JSAN.use('util.error'); this.error = new util.error();
+ JSAN.use('main.window'); this.window = new main.window();
this.w = window;
}
var cmd_new_window = this.w.document.getElementById('cmd_new_window');
if (cmd_new_window)
- cmd_new_window.addEventListener('command', function() { alert('Not Yet Implemented'); }, false);
+ cmd_new_window.addEventListener('command',
+ function() { obj.window.open('/xul/server/main/menu_frame.xul','test' + obj.window.appshell_name_increment++ ,'chrome'); },
+ false );
var cmd_broken = this.w.document.getElementById('cmd_broken');
if (cmd_broken)