Skip to content
Snippets Groups Projects
Commit 25035c1c authored by Tamas Kis's avatar Tamas Kis
Browse files

[master] Request builder fix for automatic ptc insertion. RqConsole is saving

configs

Signed-off-by: default avatarTamas Levente Kiss <tamas.levente.kiss@ericsson.com>
parent 6281e419
No related branches found
No related tags found
No related merge requests found
......@@ -153,7 +153,7 @@ function DSHelpToRequest_manual() {
}
if (request.ptcname != undefined) {
p_childRequest.ptcname = request.ptcname;
p_childRequest.getData.ptcname = request.ptcname;
}
request.children.splice(p_pos, 0, p_childRequest);
......
// Copyright (c) 2000-2017 Ericsson Telecom AB //
// All rights reserved. This program and the accompanying materials are made available under the //
// terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at //
// http://www.eclipse.org/legal/epl-v10.html //
///////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2000-2017 Ericsson Telecom AB //
// All rights reserved. This program and the accompanying materials are made available under the //
// terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at //
// http://www.eclipse.org/legal/epl-v10.html //
///////////////////////////////////////////////////////////////////////////////////////////////////////
function RequestConsole_Model(p_webAppModel, p_framework, p_extension) {
"use strict";
......@@ -90,7 +90,7 @@ function RequestConsole_Model(p_webAppModel, p_framework, p_extension) {
function changeLastEdited(lastEdited) {
var config = v_baseModel.getAppConfig();
config.lastEditedSetup = lastEdited;
//v_baseModel.saveAppConfig(config);
v_baseModel.saveAppConfig(config);
}
this.globalSetupSearch = v_setupModel.globalSetupSearch;
......@@ -125,7 +125,7 @@ function RequestConsole_Model(p_webAppModel, p_framework, p_extension) {
var config = v_baseModel.getAppConfig();
config.lastEditedApp = app;
v_setupModel.setSetupDirectory(app + "/Setups");
//v_baseModel.saveAppConfig();
v_baseModel.saveAppConfig();
new JsImportFromConfigTask(app + '/AppConfig.json', v_baseModel.getFileHandler()).taskOperation(function(ok, extension) {
if (window["DsRestAPI"] != undefined) {
v_dsRestAPI = new DsRestAPI(extension);
......
......@@ -194,7 +194,7 @@ function RequestConsole_ViewModel(p_model) {
p_callback(options);
}
v_model.resetSetupDir();
//v_model.resetSetupDir();
v_model.listSetups(setupsLoaded);
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment