fix db import, test toggle, add Firefogg requires
This commit is contained in:
parent
dd86adb0c2
commit
6faa4d81ba
3 changed files with 14 additions and 6 deletions
|
|
@ -209,13 +209,13 @@ function update() {
|
|||
var $folder = $('#'+folderId);
|
||||
if($folder.length==0) {
|
||||
$folder = $('<div>').attr('id', folderId).html('<h3>'+folder+'</h3>');
|
||||
$folder.find('h3').click(function() { $(this).parent().find('div').toggle();});
|
||||
$folder.find('h3').click(function() { $(this).parent().find('.file').toggle();});
|
||||
$volume.append($folder);
|
||||
}
|
||||
var fileId = file.oshash;
|
||||
var $file = $('#'+fileId);
|
||||
if($file.length==0) {
|
||||
$file = $('<div>').attr('id', fileId).html(file.path).hide();
|
||||
$file = $('<div>').attr('id', fileId).addClass('file').html(file.path).hide();
|
||||
$folder.append($file);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue