Commit c7510bcf authored by ibuler's avatar ibuler

Merge branch 'dev' of github.com:jumpserver/jumpserver into dev

parents 52e5487e 4a0d6842
...@@ -86,6 +86,9 @@ $(document).ready(function () { ...@@ -86,6 +86,9 @@ $(document).ready(function () {
allowClear: true, allowClear: true,
templateSelection: format templateSelection: format
}); });
$('#id_nodes.select2').select2({
closeOnSelect: false
});
$("#id_protocol").change(function (){ $("#id_protocol").change(function (){
var protocol = $("#id_protocol option:selected").text(); var protocol = $("#id_protocol option:selected").text();
var port = 22; var port = 22;
......
...@@ -34,8 +34,8 @@ th a { ...@@ -34,8 +34,8 @@ th a {
} }
.select2-container--default .select2-results__option--highlighted[aria-selected] { .select2-container--default .select2-results__option--highlighted[aria-selected] {
background-color: #d2d2d2 !important; background-color: #1ab394 !important;
color: #333 !important; /*color: #333 !important;*/
} }
.select2-selection--single, .select2-selection--single,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment