- if "run request" was launched from history the view has been switched to json,
even the form view has been selected. Now the selected view will remain
after request execution
Change-Id: Idc99e9fd32313d53dc2b5fb78e9f78e8acb67c47
Signed-off-by: michal.kovacik <mikovaci@cisco.com>
* @param reqObj
*/
function executeRequest(reqObj) {
- showData(reqObj);
+ if ($scope.rightPanelSection === constants.DISPLAY_TYPE_FORM) {
+ showForm(reqObj);
+ }
+ else {
+ showData(reqObj);
+ }
$scope.rootBroadcast(constants.YANGMAN_EXECUTE_WITH_DATA,{ data: reqObj.sentData });
}