applied Ryan's patch for Bug 276007 - Folder list does not get updated when creating the first folder.

This commit is contained in:
Jan-Christoph Borchardt 2011-07-04 21:46:20 +02:00
parent 7f0dc638ae
commit 53ae56097d
1 changed files with 6 additions and 2 deletions

View File

@ -49,6 +49,10 @@ FileList={
}
}
}
$(fileElements[pos]).after(element);
if(fileElements.length){
$(fileElements[pos]).after(element);
}else{
$('#fileList').append(element);
}
}
}
}