diff --git a/src/sunstone/public/app/utils/common-actions.js b/src/sunstone/public/app/utils/common-actions.js index f3d66b4de9..31d04b1cf1 100644 --- a/src/sunstone/public/app/utils/common-actions.js +++ b/src/sunstone/public/app/utils/common-actions.js @@ -173,7 +173,11 @@ define(function(require) { callback: function(request, response) { Sunstone.showFormPanel(that.tabId, formPanelId, "update", function(formPanelInstance, context) { - formPanelInstance.fill(context, response[that.xmlRoot]); + if (that.xmlRoot) { + formPanelInstance.fill(context, response[that.xmlRoot]); + } else { + formPanelInstance.fill(context, response); + } }); }, error: Notifier.onError