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 : - '
\ + '
\
\ \ \ @@ -1265,8 +1265,7 @@ function updateClusterInfo(request,cluster){ cluster_info.ID, tr("Attributes")) + '\ - \ - ' + ' } var cluster_host_tab = { diff --git a/src/sunstone/public/js/plugins/files-tab.js b/src/sunstone/public/js/plugins/files-tab.js index 0cdae8dbd7..1609ba791c 100644 --- a/src/sunstone/public/js/plugins/files-tab.js +++ b/src/sunstone/public/js/plugins/files-tab.js @@ -195,7 +195,7 @@ var file_actions = { call: OpenNebula.Image.update, callback: function(request) { notifyMessage("Template updated correctly"); - Sunstone.runAction('File.showinfo',request.request.data[0]); + Sunstone.runAction('File.showinfo',request.request.data[0][0]); }, error: onError }, @@ -467,7 +467,7 @@ function updateFileInfo(request,file){ title : tr("Info"), icon: "fa-info-circle", content: - '
\ + '
\
\
\ \ @@ -540,8 +540,7 @@ function updateFileInfo(request,file){ file_info.ID, "Attributes") + '\ - \ - ' + ' } $("#div_edit_chg_type_files_link").die(); diff --git a/src/sunstone/public/js/plugins/groups-tab.js b/src/sunstone/public/js/plugins/groups-tab.js index 63e141ab1a..b0b5a3c85e 100644 --- a/src/sunstone/public/js/plugins/groups-tab.js +++ b/src/sunstone/public/js/plugins/groups-tab.js @@ -69,12 +69,10 @@ var create_group_tmpl = \
\
\ -
\ -
\ +
\ +
\
\
\ -
\ -
\ \ \
\ @@ -730,7 +728,7 @@ function setup_add_rp_dialog(group){ \
\
\ -
\ + \
\ \ @@ -711,8 +711,7 @@ function updateImageInfo(request,img){ img_info.ID, "Attributes") + '\ - \ - ' + ' } $("#div_edit_chg_type_link").die(); diff --git a/src/sunstone/public/js/plugins/vnets-tab.js b/src/sunstone/public/js/plugins/vnets-tab.js index 71410e975e..1864082566 100644 --- a/src/sunstone/public/js/plugins/vnets-tab.js +++ b/src/sunstone/public/js/plugins/vnets-tab.js @@ -480,7 +480,7 @@ var vnet_actions = { call: OpenNebula.Network.update, callback: function(request) { notifyMessage("Template updated correctly"); - Sunstone.runAction('Network.showinfo',request.request.data[0]); + Sunstone.runAction('Network.showinfo',request.request.data[0][0]); }, error: onError }, diff --git a/src/sunstone/public/js/plugins/zones-tab.js b/src/sunstone/public/js/plugins/zones-tab.js index fa22d6b9b8..5450bd0870 100644 --- a/src/sunstone/public/js/plugins/zones-tab.js +++ b/src/sunstone/public/js/plugins/zones-tab.js @@ -322,7 +322,7 @@ function updateZoneInfo(request,zone){ title : tr("Info"), icon: "fa-info-circle", content : - '
\ + '
\
\
\ \ @@ -351,8 +351,7 @@ function updateZoneInfo(request,zone){ zone_info.ID, "Attributes") + '\ - \ - ' + ' } //Sunstone.updateInfoPanelTab(info_panel_name,tab_name, new tab object);