Skip to content
Snippets Groups Projects
Commit c480bb28 authored by Ri Xu's avatar Ri Xu
Browse files

Add escaping of tube names on click move job and update new tube name input box style.

parent 9b78c653
No related branches found
Tags 2.0
No related merge requests found
......@@ -44,4 +44,9 @@ ol.inside, ul.inside {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
input.moveJobsNewTubeName {
margin: 3px 20px;
padding: 0 5px;
}
\ No newline at end of file
......@@ -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 () {
......
This diff is collapsed.
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