[otrs-cvs] otrs/Kernel/Output/HTML/Standard/ProcessManagement ActivityDialogFooter.dtl, 1.5, 1.6

"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/Standard/ProcessManagement
In directory lancelot:/tmp/cvs-serv20151/Kernel/Output/HTML/Standard/ProcessManagement

Modified Files:
	ActivityDialogFooter.dtl 
Log Message:
Removed code to disable select boxes that has just one element.

Author: cr

Index: ActivityDialogFooter.dtl
===================================================================
RCS file: /home/cvs/otrs/Kernel/Output/HTML/Standard/ProcessManagement/ActivityDialogFooter.dtl,v
retrieving revision 1.5
retrieving revision 1.6
diff -2 -u -d -r1.5 -r1.6
--- ActivityDialogFooter.dtl	20 Nov 2012 15:29:36 -0000	1.5
+++ ActivityDialogFooter.dtl	11 Dec 2012 17:00:14 -0000	1.6
@@ -33,10 +33,4 @@
 <!-- dtl:js_on_document_complete -->
 <script type="text/javascript">//<![CDATA[
-$('select').each(function() {
-    if ($(this).find('option').length === 1) {
-        $(this).attr('disabled', 'disabled');
-        $('<input type="hidden" id="' + $(this).attr('id') + '" name="' + $(this).attr('name') + '" value="' + $(this).val() + '" />').insertAfter($(this));
-    }
-});
 Core.Form.Validate.Init();
 //]]></script>
---------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.