fixed en url

This commit is contained in:
Ralf Becker 2014-07-24 14:53:08 +00:00
parent e102f09861
commit 7bb1b34db8

View File

@ -24,7 +24,7 @@ egw_LAB.wait(function() {
for(var i=0; i < _data.length; ++i)
{
var data = _data[i];
var url = data.lang ? data.lang[$j('meta[name="language"]').attr('content')] : null || data.url;
var url = (data.lang ? data.lang[$j('meta[name="language"]').attr('content')] : null) || data.url;
$j(document.createElement('a')).attr({
href: url,
target: '_blank'
@ -51,4 +51,4 @@ egw_LAB.wait(function() {
//$j(window).resize(function(){window.location.href=window.location.href});
// });
//
//});
//});