Merge branch 'publication' of github.com:Rulingcom/orbit into publication
This commit is contained in:
commit
acaf707900
|
@ -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