Skip to content

Commit

Permalink
- update ui add flow
Browse files Browse the repository at this point in the history
  • Loading branch information
cklewar committed Apr 10, 2018
1 parent 0e28da1 commit c5f279e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions ui/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,13 +325,17 @@ function flowRouteAddNewConfigEventHandler(){

if ($('#inputSrcPrefix').val()){
data.srcPrefix = $('#inputSrcPrefix').val();
} else if ($('#inputSrcPort').val()){
}
if ($('#inputSrcPort').val()){
data.srcPort = $('#inputSrcPort').val();
} else if ($('#inputDstPrefix').val()){
}
if ($('#inputDstPrefix').val()){
data.dstPrefix = $('#inputDstPrefix').val();
} else if ($('#inputDstPort').val()) {
}
if ($('#inputDstPort').val()) {
data.dstPort = $('#inputDstPort').val();
} else if ($('#selectProtocol').val()) {
}
if ($('#selectProtocol').val()) {
data.protocol = $('#selectProtocol').val();
}

Expand Down

0 comments on commit c5f279e

Please sign in to comment.