Bug #574: Fixes image deletion.

This commit is contained in:
Hector Sanjuan authored and Ruben S. Montero committed 2011-04-12 15:43:31 +02:00
1 parent 9ef8c8715d
commit e1f9fb3a67
1 file changed
+1 -3
+1 -3
View File
@@ -339,9 +339,7 @@ var image_actions = {
"Image.delete" : {
type: "multiple",
call: OpenNebula.Image.delete,
callback: function (req) {
Sunstone.runAction("Image.show",req.request.data[0]);
},
callback: deleteImageElement,
elements: function() { return getSelectedNodes(dataTable_images); },
error: onError,
notify: true