wrap inline javascript with LAB to avoid runtime trouble

This commit is contained in:
Klaus Leithoff 2013-07-20 07:53:47 +00:00
parent 5b476d38e7
commit bd3e741905

View File

@ -844,7 +844,7 @@ class resources_ui
return array(
array(
// Add some jQuery to make sure dropdown is displayed
'text' => $selectbox . "<script>\$j('select[name=\"owner\[\]\"]').parent('td').css('overflow','visible').parents('div.divSidebox').css('overflow','visible');</script>",
'text' => $selectbox . "<script>var lab = egw_LAB || \$LAB; lab.wait(function(){ \$j('select[name=\"owner\[\]\"]').parent('td').css('overflow','visible').parents('div.divSidebox').css('overflow','visible');});</script>",
'no_lang' => True,
'link' => False
)