mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
Bug #4653: Fix chown & quota callback refresh
This commit is contained in:
1 parent
a82132ca3a
commit
02b957a7b7
3 files changed
+4
-4
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user