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:
parent
257082e5bf
commit
cdc881f9c1
@ -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
|
||||
},
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user