Skip to content

Commit

Permalink
Update issue#132
Browse files Browse the repository at this point in the history
  • Loading branch information
AnuragVanam committed Mar 25, 2021
1 parent b370ab8 commit 693800e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/main/resources/static/js/gw.process.js
Original file line number Diff line number Diff line change
Expand Up @@ -1363,6 +1363,15 @@ GW.process = {
var instanceid = GW.workspace.theGraph.addProcess(one.id, one.name);

},

expand: function(folder){

console.log("EXPAND Process type")

$("#process_folder_"+folder+"_target").collapse("show");
// $("#"+GW.menu.getPanelIdByType("process")).collapse("show");

},

list: function(msg){

Expand Down Expand Up @@ -1513,6 +1522,8 @@ GW.process = {
msg.desc = req.desc;

GW.process.addMenuItem(msg, req.desc);

GW.process.expand(req.desc);

if(run)

Expand Down
9 changes: 9 additions & 0 deletions src/main/resources/static/js/gw.workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ GW.workflow = {
GW.workflow.addMenuItem(msg);

console.log("the workflow is added");

GW.workflow.expand(msg);

GW.workflow.loaded_workflow = msg.id;

Expand Down Expand Up @@ -1423,6 +1425,13 @@ GW.workflow = {
"</li>");

},
expand: function(one){

console.log("EXPAND Workflow")

$("#"+GW.menu.getPanelIdByType("workflow")).collapse("show");
},


list: function(msg){

Expand Down

0 comments on commit 693800e

Please sign in to comment.