mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-25 02:50:08 +03:00
Feature #992:
Update UI common files to give needed support to OpenNebula Self-Service. (This does not cause any compatibility with Sunstone and OZones)
This commit is contained in:
parent
9bf8f3fe32
commit
2f4a5a9fa4
@ -498,9 +498,11 @@ function getSelectedNodes(dataTable){
|
||||
function makeSelectOptions(dataTable,
|
||||
id_col,name_col,
|
||||
status_cols,
|
||||
bad_status_values){
|
||||
bad_status_values,no_empty_opt){
|
||||
var nodes = dataTable.fnGetData();
|
||||
var select = '<option class="empty_value" value="">'+tr("Please select")+'</option>';
|
||||
var select = "";
|
||||
if (!no_empty_opt)
|
||||
select = '<option class="empty_value" value="">'+tr("Please select")+'</option>';
|
||||
var array;
|
||||
for (var j=0; j<nodes.length;j++){
|
||||
var elem = nodes[j];
|
||||
|
@ -366,6 +366,12 @@ $(document).ready(function(){
|
||||
$('.action_blocks .action_list:visible',main_tabs_context).hide();
|
||||
});
|
||||
|
||||
//Close open panel
|
||||
$('.close_dialog_link').live("click",function(){
|
||||
hideDialog();
|
||||
return false;
|
||||
});
|
||||
|
||||
//Start with the dashboard (supposing we have one).
|
||||
showTab('#dashboard_tab');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user