mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-22 00:09:14 +00:00
改bug
This commit is contained in:
@@ -59,7 +59,6 @@ function GetTableDataBox() {
|
||||
return returnData;
|
||||
}
|
||||
|
||||
|
||||
function move(from, to) {
|
||||
$("#" + from + " option").each(function () {
|
||||
if ($(this).prop("selected") == true) {
|
||||
@@ -73,3 +72,34 @@ function move_all(from, to) {
|
||||
$("#" + to).append(this);
|
||||
});
|
||||
}
|
||||
|
||||
function selectAll(){
|
||||
var checklist = document.getElementsByName ("selected");
|
||||
if(document.getElementById("select_all").checked)
|
||||
{
|
||||
for(var i=0;i<checklist.length;i++)
|
||||
{
|
||||
checklist[i].checked = 1;
|
||||
}
|
||||
}else{
|
||||
for(var j=0;j<checklist.length;j++)
|
||||
{
|
||||
checklist[j].checked = 0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function move(from, to) {
|
||||
$("#"+from+" option").each(function(){
|
||||
if ( $(this).prop("selected") == true ) {
|
||||
$("#"+to).append(this);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function move_all(from, to){
|
||||
$("#"+from).children().each(function(){
|
||||
$("#"+to).append(this);
|
||||
});
|
||||
}
|
||||
|
@@ -28,7 +28,7 @@
|
||||
maxHeight: false,
|
||||
scalePhotos: true,
|
||||
scrolling: true,
|
||||
opacity: 0.9,
|
||||
opacity: 0.3,
|
||||
preloading: true,
|
||||
className: false,
|
||||
overlayClose: true,
|
||||
@@ -418,7 +418,8 @@
|
||||
$overlay.css({
|
||||
opacity: opacity === opacity ? opacity : '',
|
||||
cursor: settings.get('overlayClose') ? 'pointer' : '',
|
||||
visibility: 'visible'
|
||||
visibility: 'visible',
|
||||
// 'background-color': 'black'
|
||||
}).show();
|
||||
|
||||
if (settings.get('closeButton')) {
|
||||
|
Reference in New Issue
Block a user