mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-20 10:50:08 +03:00
bug #2114: Now the cluster change is actually performed
Info panel still not updated :(
This commit is contained in:
parent
4bd8557341
commit
7c36d1f873
@ -484,13 +484,13 @@ var datastore_actions = {
|
||||
type: "multiple",
|
||||
call: function(params, success){
|
||||
var cluster = params.data.extra_param;
|
||||
var ds = params.data.id;
|
||||
var ds = params.data.id[0];
|
||||
|
||||
if (cluster == -1){
|
||||
//get cluster name
|
||||
var current_cluster = getValue(ds,
|
||||
1,
|
||||
5,
|
||||
6,
|
||||
dataTable_datastores);
|
||||
//get cluster id
|
||||
current_cluster = getValue(current_cluster,
|
||||
@ -504,6 +504,8 @@ var datastore_actions = {
|
||||
{
|
||||
Sunstone.runAction("Cluster.adddatastore",cluster,ds);
|
||||
}
|
||||
Sunstone.runAction("Datastore.show",ds);
|
||||
Sunstone.runAction("Datastore.showinfo",ds);
|
||||
},
|
||||
elements: datastoreElements,
|
||||
notify:true
|
||||
|
Loading…
x
Reference in New Issue
Block a user