Skip to content

Commit

Permalink
Route Target naming
Browse files Browse the repository at this point in the history
The validation was allready there.
While passing there was a parsing to Number because of it ip was sent with only
first number rest where removed - so fixed it.

Also the create/edit popup was scrolling along with the save or cancel button.
Fixed it

Change-Id: I6beb539edf6f326cef0c8eb9fbbf2bcee6f997b7
Closes-Bug: #1278802
  • Loading branch information
balamurugang committed May 6, 2015
1 parent 522f7d9 commit 6cce9b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion webroot/config/vn/ui/js/vn_config.js
Expand Up @@ -696,7 +696,7 @@ function initActions() {
if (rtTuples && rtTuples.length > 0) {
for (var i = 0; i < rtTuples.length; i++) {
var rtTuple = $($(rtTuples[i]).find("div")[0]).children();
var rt = parseInt($($(rtTuple[0]).find("input")).val().trim());
var rt = $($(rtTuple[0]).find("input")).val().trim();
var asn = parseInt($($(rtTuple[2]).find("input")).val().trim());
routeTargets.push({RouteTarget:rt + ":" + asn});
}
Expand Down
1 change: 0 additions & 1 deletion webroot/config/vn/ui/views/vn_config.view
Expand Up @@ -136,7 +136,6 @@
<h6 class="modal-header-title"></h6>
</div>
<div class="modal-body">
<div>
<form class="form-horizontal">
<div class="control-group hide">
<label class="control-label">Name</label>
Expand Down

0 comments on commit 6cce9b7

Please sign in to comment.