diff options
author | Bartek Przybylski <bart.p.pl@gmail.com> | 2011-09-25 22:32:16 +0200 |
---|---|---|
committer | Bartek Przybylski <bart.p.pl@gmail.com> | 2011-09-25 22:32:16 +0200 |
commit | 63e6863222b92d7fc2e6ca5ccb3ab79688594348 (patch) | |
tree | 1d3b342b6eec3d4a0ec379cba4986dd43ba7216c /files/js | |
parent | bc43851d74e8fceea1c914e98a8cd571b84610d5 (diff) | |
parent | 17e631bc5e327514596ce8761fe7f93d414a8717 (diff) | |
download | nextcloud-server-63e6863222b92d7fc2e6ca5ccb3ab79688594348.tar.gz nextcloud-server-63e6863222b92d7fc2e6ca5ccb3ab79688594348.zip |
Merge branch 'master' of git://gitorious.org/owncloud/owncloud
Diffstat (limited to 'files/js')
-rw-r--r-- | files/js/filelist.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/js/filelist.js b/files/js/filelist.js index ae9e7977c95..66092220795 100644 --- a/files/js/filelist.js +++ b/files/js/filelist.js @@ -27,7 +27,7 @@ FileList={ lastModifiedTime=Math.round(lastModified.getTime() / 1000); modifiedColor=Math.round((Math.round((new Date()).getTime() / 1000)-lastModifiedTime)/60/60/24*14); html+='<td class="filesize" title="'+humanFileSize(size)+'" style="color:rgb('+sizeColor+','+sizeColor+','+sizeColor+')">'+simpleSize+'</td>'; - html+='<td class="date" title="'+formatDate(lastModified)+'" style="color:rgb('+modifiedColor+','+modifiedColor+','+modifiedColor+')">'+relative_modified_date(lastModified.getTime() / 1000)+'</td>'; + html+='<td class="date"><span class="modified" title="'+formatDate(lastModified)+'" style="color:rgb('+modifiedColor+','+modifiedColor+','+modifiedColor+')">'+relative_modified_date(lastModified.getTime() / 1000)+'</span></td>'; html+='</tr>'; FileList.insertElement(name,'file',$(html)); if(loading){ @@ -48,7 +48,7 @@ FileList={ lastModifiedTime=Math.round(lastModified.getTime() / 1000); modifiedColor=Math.round((Math.round((new Date()).getTime() / 1000)-lastModifiedTime)/60/60/24*5); html+='<td class="filesize" title="'+humanFileSize(size)+'" style="color:rgb('+sizeColor+','+sizeColor+','+sizeColor+')">'+simpleSize+'</td>'; - html+='<td class="date" title="'+formatDate(lastModified)+'" style="color:rgb('+modifiedColor+','+modifiedColor+','+modifiedColor+')">'+relative_modified_date(lastModified.getTime() / 1000)+'</td>'; + html+='<td class="date"><span class="modified" title="'+formatDate(lastModified)+'" style="color:rgb('+modifiedColor+','+modifiedColor+','+modifiedColor+')">'+relative_modified_date(lastModified.getTime() / 1000)+'</span></td>'; html+='</tr>'; FileList.insertElement(name,'dir',$(html)); |