[otrs-cvs] otrs/Kernel/Output/HTML Layout.pm, 1.381.2.14, 1.381.2.15
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs/Kernel/Output/HTML
In directory lancelot:/tmp/cvs-serv17037/Kernel/Output/HTML
Modified Files:
Tag: rel-3_1
Layout.pm
Log Message:
- 2013-01-30 Fixed bug#9101 - Not possible to create dropdown with autocomplete attribute.
Author: des
Index: Layout.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Output/HTML/Layout.pm,v
retrieving revision 1.381.2.14
retrieving revision 1.381.2.15
diff -2 -u -d -r1.381.2.14 -r1.381.2.15
--- Layout.pm 22 Nov 2012 09:24:52 -0000 1.381.2.14
+++ Layout.pm 30 Jan 2013 14:14:04 -0000 1.381.2.15
@@ -1,5 +1,5 @@
# --
# Kernel/Output/HTML/Layout.pm - provides generic HTML output
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
# --
# $Id$
@@ -2081,13 +2081,14 @@
my $HTML = $LayoutObject->BuildSelection(
- Data => $ArrayRef, # use $HashRef, $ArrayRef or $ArrayHashRef (see below)
- Name => 'TheName', # name of element
- ID => 'HTMLID', # (optional) the HTML ID for this element, if not provided, the name will be used as ID as well
- Multiple => 0, # (optional) default 0 (0|1)
- Size => 1, # (optional) default 1 element size
- Class => 'class', # (optional) a css class
- Disabled => 0, # (optional) default 0 (0|1) disable the element
- OnChange => 'javascript', # (optional)
- OnClick => 'javascript', # (optional)
+ Data => $ArrayRef, # use $HashRef, $ArrayRef or $ArrayHashRef (see below)
+ Name => 'TheName', # name of element
+ ID => 'HTMLID', # (optional) the HTML ID for this element, if not provided, the name will be used as ID as well
+ Multiple => 0, # (optional) default 0 (0|1)
+ Size => 1, # (optional) default 1 element size
+ Class => 'class', # (optional) a css class
+ Disabled => 0, # (optional) default 0 (0|1) disable the element
+ AutoComplete => 'off', # (optional)
+ OnChange => 'javascript', # (optional)
+ OnClick => 'javascript', # (optional)
SelectedID => 1, # (optional) use integer or arrayref (unable to use with ArrayHashRef)
@@ -4551,5 +4552,5 @@
# check params with key and value
- for (qw(Name ID Size Class OnChange OnClick)) {
+ for (qw(Name ID Size Class OnChange OnClick AutoComplete)) {
if ( $Param{$_} ) {
$AttributeRef->{ lc($_) } = $Param{$_};
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log