Merge branch 'publication' of github.com:Rulingcom/orbit into publication

This commit is contained in:
chris 2012-12-07 11:22:06 +08:00
commit acaf707900
1 changed files with 2 additions and 0 deletions

View File

@ -145,6 +145,8 @@ orbitDesktop.prototype.initializeJournalPapers = function(target,url,cache){ //
var file_list = li.find('.list_t_des');
$.each(paper.files,function(k,file){
var thistitle = file.title;
if(!thistitle)
thistitle = "";
thistitle = ( thistitle.length > 8 )? thistitle.substring(0,8)+'...' : thistitle;
if(!file.title){
thistitle = "Untitled File";