Revision a0839230

b/snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_vms_base_view.js
424 424

  
425 425
            vm.call("console", function(console_data) {
426 426
                var url = vm.get_console_url(console_data);
427
                snf.util.open_window(url, "VM_" + vm.get("id") + "_CONSOLE", {});
427
                snf.util.open_window(url, "VM_" + vm.get("id") + "_CONSOLE", {'scrollbars': 1, 'fullscreen': 0});
428 428
            }, undefined, {async: use_async});
429 429
        }
430 430

  
b/snf-cyclades-app/synnefo/ui/static/snf/js/utils.js
283 283
        return {del: removed, add: added};
284 284
    }
285 285

  
286
    synnefo.util.open_window = function(url, name, specs) {
286
    synnefo.util.open_window = function(url, name, opts) {
287 287
        // default specs
288
        var opts = _.extend({
289
            scrollbars: 'no',
288
        opts = _.extend({
290 289
            menubar: 'no',
291 290
            toolbar: 'no',
292 291
            status: 'no',
......
300 299
            top: 0
301 300
        }, opts)
302 301
        
303
        window.open(url, name, opts);
302
        var specs = _.map(opts, function(v,k) {return k + "=" + v}).join(",");
303
        window.open(url, name, specs);
304 304
    }
305 305
    
306 306
    synnefo.util.readFileContents = function(f, cb) {

Also available in: Unified diff