mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-26 06:50:09 +03:00
Feature #2746: Better Image.show callback
This commit is contained in:
parent
2f2f0e4a87
commit
f9ca99085a
@ -267,11 +267,15 @@ var image_actions = {
|
||||
type : "single",
|
||||
call: OpenNebula.Image.show,
|
||||
callback: function(request, response){
|
||||
var tab = dataTable_images.parents(".tab");
|
||||
|
||||
if (Sunstone.rightInfoVisible(tab)) {
|
||||
// individual view
|
||||
updateImageInfo(request, response);
|
||||
}
|
||||
|
||||
// datatable row
|
||||
updateImageElement(request, response);
|
||||
|
||||
// individual view
|
||||
updateImageInfo(request, response);
|
||||
},
|
||||
error: onError
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user