diff --git a/src/sunstone/public/js/plugins/clusters-tab.js b/src/sunstone/public/js/plugins/clusters-tab.js index ca4527c1a7..36f54db176 100644 --- a/src/sunstone/public/js/plugins/clusters-tab.js +++ b/src/sunstone/public/js/plugins/clusters-tab.js @@ -95,9 +95,9 @@ var create_cluster_tmpl ='
| \ \ |
| '+tr("Base path")+' | \ diff --git a/src/sunstone/public/js/plugins/images-tab.js b/src/sunstone/public/js/plugins/images-tab.js index 5ba32836de..d734cb5d09 100644 --- a/src/sunstone/public/js/plugins/images-tab.js +++ b/src/sunstone/public/js/plugins/images-tab.js @@ -376,7 +376,10 @@ var image_actions = { Sunstone.runAction("Image.list"); }, elements: imageElements, - error: onError, + error: function (req,error_json) { + Sunstone.runAction("Image.showinfo",req.request.data[0]); + onError(req,error_json); + }, notify: true }, @@ -751,6 +754,7 @@ function updateImageInfo(request,img){ $("#chg_type_select").live("change", function() { var new_value=$("option:selected", this).text(); Sunstone.runAction("Image.chtype", img_info.ID, new_value); + Sunstone.runAction("Image.showinfo", img_info.ID); }); // Listener for edit link for persistency change