mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +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
281fed9669
commit
ce9ba4e2bc
@ -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