fixed en url

This commit is contained in:
Ralf Becker 2014-07-24 14:52:30 +00:00
parent 25a4e26364
commit e55e638cc2

View File

@ -24,7 +24,7 @@ egw_LAB.wait(function() {
for(var i=0; i < _data.length; ++i) for(var i=0; i < _data.length; ++i)
{ {
var data = _data[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({ $j(document.createElement('a')).attr({
href: url, href: url,
target: '_blank' target: '_blank'
@ -51,4 +51,4 @@ egw_LAB.wait(function() {
//$j(window).resize(function(){window.location.href=window.location.href}); //$j(window).resize(function(){window.location.href=window.location.href});
// }); // });
// //
//}); //});