This commit is contained in:
halcyon
2015-02-05 18:53:57 +08:00
26 changed files with 762 additions and 154 deletions

View File

@@ -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);
});
}

View File

@@ -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')) {