check if ID was assigned
This commit is contained in:
parent
277dd2b0a9
commit
32e2d7ef8f
1 changed files with 3 additions and 1 deletions
|
@ -121,7 +121,9 @@ var FileList={
|
|||
tr.data('loading',false);
|
||||
mime=tr.data('mime');
|
||||
tr.attr('data-mime',mime);
|
||||
tr.attr('data-id', id);
|
||||
if (id != null) {
|
||||
tr.attr('data-id', id);
|
||||
}
|
||||
getMimeIcon(mime,function(path){
|
||||
tr.find('td.filename').attr('style','background-image:url('+path+')');
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue