1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Bug #4653: Fix chown & quota callback refresh

(cherry picked from commit 3a5b9978646f7afca58e519aff11ec9975c3a0c4)
This commit is contained in:
Carlos Martín 2016-07-19 17:21:30 +02:00
parent 257082e5bf
commit cdc881f9c1
3 changed files with 4 additions and 4 deletions

View File

@ -87,7 +87,7 @@ define(function(require) {
callback: function(request) {
Sunstone.getDialog(QUOTAS_DIALOG_ID).hide();
Sunstone.runAction(RESOURCE+'.show',request.request.data[0]);
Sunstone.runAction(RESOURCE+'.show',request.request.data[0][0]);
},
error: Notifier.onError
},

View File

@ -251,7 +251,7 @@ define(function(require) {
callback: function(request) {
Sunstone.getDialog(QUOTAS_DIALOG_ID).hide();
Sunstone.runAction(RESOURCE+'.show',request.request.data[0]);
Sunstone.runAction(RESOURCE+'.show',request.request.data[0][0]);
},
error: Notifier.onError
}

View File

@ -114,8 +114,8 @@ define(function(require) {
return {
type: "multiple",
call: that.openNebulaResource[actionStr],
callback: function (req) {
Sunstone.runAction(that.resourceStr + ".show", req.request.data[0]);
callback: function (req, response) {
Sunstone.runAction(that.resourceStr + ".show", req.request.data[0][0]);
},
elements: function(opts) {
return Sunstone.getDataTable(that.tabId).elements(opts);