diff options
author | Frank Karlitschek <frank@owncloud.org> | 2013-02-25 09:48:25 -0800 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2013-02-25 09:48:25 -0800 |
commit | 571f1e2d2b032eb0bb28ed6828fc10a03d192005 (patch) | |
tree | 3418e087ba4e7cd4e34437d81e9624d0a051185b /apps/files/js/files.js | |
parent | 946a064fc6b57915c09026e0b02d0bed01a852e3 (diff) | |
parent | 1d83d76b457666bad4637bbae87fceead853d87a (diff) | |
download | nextcloud-server-571f1e2d2b032eb0bb28ed6828fc10a03d192005.tar.gz nextcloud-server-571f1e2d2b032eb0bb28ed6828fc10a03d192005.zip |
Merge pull request #1894 from owncloud/texfix
fixed bug that prevented a newly created file to be opened with register...
Diffstat (limited to 'apps/files/js/files.js')
-rw-r--r-- | apps/files/js/files.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 6b9b23657dc..464f7703685 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -595,7 +595,7 @@ $(document).ready(function() { var date=new Date(); FileList.addFile(name,0,date,false,hidden); var tr=$('tr').filterAttr('data-file',name); - tr.data('mime','text/plain').data('id',result.data.id); + tr.attr('data-mime','text/plain'); tr.attr('data-id', result.data.id); getMimeIcon('text/plain',function(path){ tr.find('td.filename').attr('style','background-image:url('+path+')'); |