Skip to content

Commit

Permalink
Add escaping of tube names on click move job and update new tube name…
Browse files Browse the repository at this point in the history
… input box style.
  • Loading branch information
xuri committed Jan 23, 2017
1 parent 9b78c65 commit c480bb2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions public/css/customer.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,9 @@ ol.inside, ul.inside {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

input.moveJobsNewTubeName {
margin: 3px 20px;
padding: 0 5px;
}
2 changes: 1 addition & 1 deletion public/js/customer.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ $(document).ready(
if ($(this).val().length > 0) {
console.log($(this).data('href') + encodeURIComponent($(this).val()));
}
document.location.replace($(this).data('href') + ($(this).val()));
document.location.replace($(this).data('href') + encodeURIComponent($(this).val()));
}
});
$(document).on('click', '#addServer', function () {
Expand Down
2 changes: 1 addition & 1 deletion statik/statik.go

Large diffs are not rendered by default.

0 comments on commit c480bb2

Please sign in to comment.