diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-02-25 17:50:17 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-02-25 17:50:17 +0100 |
commit | 1d83d76b457666bad4637bbae87fceead853d87a (patch) | |
tree | 3418e087ba4e7cd4e34437d81e9624d0a051185b | |
parent | 946a064fc6b57915c09026e0b02d0bed01a852e3 (diff) | |
download | nextcloud-server-1d83d76b457666bad4637bbae87fceead853d87a.tar.gz nextcloud-server-1d83d76b457666bad4637bbae87fceead853d87a.zip |
fixed bug that prevented a newly created file to be opened with registered files actions
-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+')'); |