config-tab.js.patch

patch for src/sunstone/public/js/plugins/config-tab.js - Bill Cole, 02/25/2016 02:39 AM

Download (1.13 KB)

View differences:

./src/sunstone/public/js/plugins/config-tab.js 2016-02-24 19:23:34.000000000 -0500
364 364

  
365 365
    setupTips(dialog);
366 366

  
367
    if (config['user_config']["vnc_wss"] == "yes"){
368
        $('input#wss_checkbox').attr('checked','checked');
369
    };
370

  
371 367
    $('#table_order option[value="'+config['user_config']["table_order"]+'"]', dialog).attr('selected','selected');
372 368

  
373 369
    $('#lang_sel option[value="'+config['user_config']["lang"]+'"]', dialog).attr('selected','selected');
......
380 376

  
381 377
    $('#config_submit', dialog).live('click',function(){
382 378
      var lang = $('#lang_sel', dialog).val();
383
      var vnc_wss = $('input#wss_checkbox', dialog).is(':checked') ? "yes" : "no";
384 379
      var table_order = $('#table_order', dialog).val();
385 380
      var default_view = $('#view_sel', dialog).val();
386 381

  
......
392 387
          var template = user_json.USER.TEMPLATE;
393 388

  
394 389
          template["LANG"] = lang;
395
          template['VNC_WSS'] = vnc_wss;
396 390
          template['TABLE_ORDER'] = table_order;
397 391
          template["DEFAULT_VIEW"] = default_view;
398 392