diff --git a/share/scripts/one b/share/scripts/one index c5c6a2f711..8470db119e 100755 --- a/share/scripts/one +++ b/share/scripts/one @@ -235,9 +235,9 @@ case "$1" in restart) stop setup - start + start echo "oned and scheduler restarted" - ;; + ;; start-sched) start_sched ;; diff --git a/src/sunstone/public/js/plugins/clusters-tab.js b/src/sunstone/public/js/plugins/clusters-tab.js index 81f0900446..7c6e9cb690 100644 --- a/src/sunstone/public/js/plugins/clusters-tab.js +++ b/src/sunstone/public/js/plugins/clusters-tab.js @@ -1030,7 +1030,7 @@ var cluster_actions = { call: OpenNebula.Cluster.update, callback: function(request,response){ notifyMessage(tr("Cluster updated correctly")); - Sunstone.runAction('Cluster.show',response.CLUSTER.ID); + Sunstone.runAction('Cluster.showinfo',request.request.data[0][0]); }, error: onError }, @@ -1054,7 +1054,7 @@ var cluster_actions = { call: OpenNebula.Cluster.rename, callback: function(request) { notifyMessage(tr("Cluster renamed correctly")); - Sunstone.runAction('Cluster.showinfo',request.request.data[0]); + Sunstone.runAction('Cluster.showinfo',request.request.data[0][0]); Sunstone.runAction('Cluster.list'); }, error: onError, @@ -1236,7 +1236,7 @@ function updateClusterInfo(request,cluster){ title : tr("Info"), icon: "fa-info-circle", content : - '