mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-23 17:33:56 +03:00
bug #1884: system property of datastores now correctly calculated
This commit is contained in:
parent
d42ef854b9
commit
7cc5255ee4
@ -581,7 +581,7 @@ function datastoreElementArray(element_json){
|
||||
element.BASE_PATH,
|
||||
element.TM_MAD,
|
||||
element.DS_MAD,
|
||||
element.SYSTEM == '1' ? 'Yes' : 'No'
|
||||
element.TEMPLATE.TYPE.toUpperCase() == 'SYSTEM_DS' ? 'Yes' : 'No'
|
||||
];
|
||||
}
|
||||
|
||||
|
@ -1119,8 +1119,6 @@ function popUpCreateImageDialog(){
|
||||
$('#file-uploader input',$create_image_dialog).attr('style','margin:0;width:256px!important');
|
||||
|
||||
var datastores_str = datastores_sel();
|
||||
// Get rid of default datastore (51 characters in string)
|
||||
datastores_str = datastores_str.substring(51,datastores_str.length);
|
||||
|
||||
$('#img_datastore',$create_image_dialog).html(datastores_str);
|
||||
$('#img_datastore_raw',$create_image_dialog).html(datastores_str);
|
||||
|
Loading…
Reference in New Issue
Block a user