Revision 4b2eb026

View differences:

src/sunstone/public/js/plugins/datastores-tab.js
569 569
function datastoreElementArray(element_json){
570 570
    var element = element_json.DATASTORE;
571 571

  
572
    var type = "No";
573

  
574
    if (element.TEMPLATE.TYPE)
575
      type = element.TEMPLATE.TYPE.toUpperCase() == 'SYSTEM_DS' ? 'Yes' : 'No'
576

  
572 577
    return [
573 578
        '<input class="check_item" type="checkbox" id="datastore_'+
574 579
                             element.ID+'" name="selected_items" value="'+
......
581 586
        element.BASE_PATH,
582 587
        element.TM_MAD,
583 588
        element.DS_MAD,
584
        element.TEMPLATE.TYPE.toUpperCase() == 'SYSTEM_DS' ? 'Yes' : 'No'
589
        type
585 590
    ];
586 591
}
587 592

  

Also available in: Unified diff