Revision 65ecc5e4 ui/static/synnefo.js

b/ui/static/synnefo.js
1238 1238
    }
1239 1239
    
1240 1240
    // prefer metadata values for specific options (username, domain)
1241
    var username_meta_key = 'User';
1242
    var domain_meta_key = "Domain";
1241
    var username_meta_key = 'user';
1242
    var domain_meta_key = "domain";
1243 1243

  
1244 1244
    var serverID = serverIDs.pop();
1245 1245
    var machine = get_machine(serverID);
......
1273 1273
        params_url += "&domain=" + domain;
1274 1274
    }
1275 1275
    
1276
    if ($.client.os == "Windows" && os == "windows") {
1277
        // request rdp file
1278
        window.open('machines/connect' + params_url + "&rdp=1");
1279
        return;
1280
    }
1276
    //if ($.client.os == "Windows" && os == "windows") {
1277
        //// request rdp file
1278
        //window.open('machines/connect' + params_url + "&rdp=1");
1279
        //return;
1280
    //}
1281 1281
    
1282 1282
    // FIXME: I18n ???
1283 1283
    var title = 'Connect to: ' + '<span class="machine-title"><img src="static/icons/machines/small/'+os+'-on.png" /> '+serverName+'</span>';

Also available in: Unified diff