use chosen for select boxes
This commit is contained in:
parent
9edfe22754
commit
907c62663e
|
@ -8,6 +8,7 @@ time.
|
||||||
* templates/selfService/*
|
* templates/selfService/*
|
||||||
* lib/modules/aliasEntry.inc
|
* lib/modules/aliasEntry.inc
|
||||||
* lib/modules/automount.inc
|
* lib/modules/automount.inc
|
||||||
|
* lib/modules/bindDLZ.inc
|
||||||
* lib/modules/customFields.inc
|
* lib/modules/customFields.inc
|
||||||
* lib/modules/customScripts.inc
|
* lib/modules/customScripts.inc
|
||||||
* lib/modules/device.inc
|
* lib/modules/device.inc
|
||||||
|
@ -36,6 +37,7 @@ time.
|
||||||
* lib/modules/zarafaServer.inc
|
* lib/modules/zarafaServer.inc
|
||||||
* lib/modules/zarafaUser.inc
|
* lib/modules/zarafaUser.inc
|
||||||
* lib/types/alias.inc
|
* lib/types/alias.inc
|
||||||
|
* lib/types/bind.inc
|
||||||
* lib/types/automountType.inc
|
* lib/types/automountType.inc
|
||||||
* lib/types/gon.inc
|
* lib/types/gon.inc
|
||||||
* lib/types/nisObjectType.inc
|
* lib/types/nisObjectType.inc
|
||||||
|
@ -172,5 +174,7 @@ templates/lib/*wz_tooltip.js C Walter Zorn
|
||||||
lib/3rdParty/phpseclib C Jim Wigginton
|
lib/3rdParty/phpseclib C Jim Wigginton
|
||||||
templates/lib/*jquery*.js D 2010 John Resig, Paul Bakaus, Fred Heusschen
|
templates/lib/*jquery*.js D 2010 John Resig, Paul Bakaus, Fred Heusschen
|
||||||
templates/lib/*jquery-validationEngine-*.js D 2010 Cedric Dugas and Olivier Refalo
|
templates/lib/*jquery-validationEngine-*.js D 2010 Cedric Dugas and Olivier Refalo
|
||||||
|
templates/lib/*jquery-fineuploader-*.js D 2010 Andrew Valums
|
||||||
|
templates/lib/*jquery-chosen-*.js D 2013 Patrick Filler
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1161,6 +1161,9 @@ class htmlSelect extends htmlElement {
|
||||||
elseif (sizeof($this->elements) == 0) {
|
elseif (sizeof($this->elements) == 0) {
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
}
|
}
|
||||||
|
if (!$this->multiSelect && !($this->size > 1)) {
|
||||||
|
echo '<script type="text/javascript">jQuery(document).ready(function() {jQuery(\'#' . $this->name . '\').chosen({search_contains: "true"})});</script>';
|
||||||
|
}
|
||||||
if ($this->transient) {
|
if ($this->transient) {
|
||||||
return array();
|
return array();
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
After Width: | Height: | Size: 646 B |
Binary file not shown.
After Width: | Height: | Size: 872 B |
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue