fixed fileview in english mode
This commit is contained in:
parent
08b99011d0
commit
ad8273d638
|
@ -145,6 +145,8 @@ orbitDesktop.prototype.initializeJournalPapers = function(target,url,cache){ //
|
||||||
var file_list = li.find('.list_t_des');
|
var file_list = li.find('.list_t_des');
|
||||||
$.each(paper.files,function(k,file){
|
$.each(paper.files,function(k,file){
|
||||||
var thistitle = file.title;
|
var thistitle = file.title;
|
||||||
|
if(!thistitle)
|
||||||
|
thistitle = "";
|
||||||
thistitle = ( thistitle.length > 8 )? thistitle.substring(0,8)+'...' : thistitle;
|
thistitle = ( thistitle.length > 8 )? thistitle.substring(0,8)+'...' : thistitle;
|
||||||
if(!file.title){
|
if(!file.title){
|
||||||
thistitle = "Untitled File";
|
thistitle = "Untitled File";
|
||||||
|
|
Loading…
Reference in New Issue