Changeset 26955

Show
Ignore:
Timestamp:
26.02.2013 11:02:26 (7 years ago)
Author:
jmt12
Message:

minor fix to javascript to prevent warnings in firebug et al when an undefined value was being printed out

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs2-extensions/video-and-audio/trunk/src/opt/Terrier/results.jsp

    r26191 r26955  
    8787      if (!(field.equals("assocfile") || field.equals("parser") || field.equals("preview") || field.equals("source"))) 
    8888      { 
    89         out.print("<span class=\"results_"+field+"\"><b>"+field+":</b> "+meta[j][i]+"</span>"); 
     89        if (!meta[j][i].equals("")) 
     90        { 
     91          out.print("<span class=\"results_"+field+"\"><b>"+field+":</b> "+meta[j][i]+"</span>"); 
     92        } 
    9093      } 
    9194    }