mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-21 15:58:52 +00:00
bug
This commit is contained in:
@@ -70,10 +70,13 @@ function move(from, to, from_o, to_o) {
|
||||
});
|
||||
}
|
||||
|
||||
function move_left(from, to) {
|
||||
function move_left(from, to, from_o, to_o) {
|
||||
$("#" + from + " option").each(function () {
|
||||
if ($(this).prop("selected") == true) {
|
||||
$("#" + to).append(this);
|
||||
if( typeof from_o !== 'undefined'){
|
||||
$("#"+to_o).append($("#"+from_o +" option[value='"+this.value+"']"));
|
||||
}
|
||||
}
|
||||
$(this).attr("selected",'true');
|
||||
});
|
||||
|
Reference in New Issue
Block a user