fix db import, test toggle, add Firefogg requires

This commit is contained in:
j 2010-08-16 23:57:13 +02:00
commit 6faa4d81ba
3 changed files with 14 additions and 6 deletions

View file

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