Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2013-02-25 21:48:25 +0400
committerFrank Karlitschek <frank@owncloud.org>2013-02-25 21:48:25 +0400
commit571f1e2d2b032eb0bb28ed6828fc10a03d192005 (patch)
tree3418e087ba4e7cd4e34437d81e9624d0a051185b
parent946a064fc6b57915c09026e0b02d0bed01a852e3 (diff)
parent1d83d76b457666bad4637bbae87fceead853d87a (diff)
Merge pull request #1894 from owncloud/texfix
fixed bug that prevented a newly created file to be opened with register...
-rw-r--r--apps/files/js/files.js2
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+')');