mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fix enhanced (multi-)select boxes in old eTemplate where broken and displayed only as regular select-boxes
This commit is contained in:
parent
b44961ba4c
commit
a8268adfb5
@ -214,7 +214,7 @@ class Html
|
||||
if($enhanced) {
|
||||
Framework::includeJS('/api/js/jquery/chosen/chosen.jquery.js');
|
||||
Framework::includeCSS('/api/js/jquery/chosen/chosen.css',null,false);
|
||||
$out .= "<script>var lab = egw_LAB || \$LAB; lab.wait(function() {\jQuery(function() {if(\jQuery().chosen) \jQuery('select[name=\"$name\"]').chosen({width: '100%'});});})</script>\n";
|
||||
$out .= "<script>var lab = egw_LAB || \$LAB; lab.wait(function() {jQuery(function() {if(jQuery().chosen) jQuery('select[name=\"$name\"]').chosen({width: '100%'});});})</script>\n";
|
||||
}
|
||||
return $out;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user