mirror of
https://github.com/nextcloud/server.git
synced 2026-03-09 18:00:54 -04:00
Merge pull request #1894 from owncloud/texfix
fixed bug that prevented a newly created file to be opened with register...
This commit is contained in:
commit
571f1e2d2b
1 changed files with 1 additions and 1 deletions
|
|
@ -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+')');
|
||||
|
|
|
|||
Loading…
Reference in a new issue