[otrs-cvs] otrs/Kernel/System/DynamicField/Backend Multiselect.pm, 1.61, 1.62 Dropdown.pm, 1.72, 1.73
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs/Kernel/System/DynamicField/Backend
In directory lancelot:/tmp/cvs-serv12360/Kernel/System/DynamicField/Backend
Modified Files:
Multiselect.pm Dropdown.pm
Log Message:
Removed option and code for "SubmitOnChange" since it was only used in Customer Interface due to the lack of AJAX support in older versions.
Author: cr
Index: Multiselect.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/DynamicField/Backend/Multiselect.pm,v
retrieving revision 1.61
retrieving revision 1.62
diff -2 -u -d -r1.61 -r1.62
--- Multiselect.pm 20 Dec 2012 16:01:44 -0000 1.61
+++ Multiselect.pm 20 Dec 2012 16:07:23 -0000 1.62
@@ -353,23 +353,4 @@
}
- if ( $Param{SubmitOnChange} ) {
-
- my $FieldSelector = '#' . $FieldName;
-
- #add js to disable validation and do submit()
- $HTMLString .= <<"EOF";
-<!--dtl:js_on_document_complete-->
-<script type="text/javascript">//<![CDATA[
- \$('$FieldSelector').bind('change', function (Event) {
- // make sure the ticket is not yet created on queue change
- \$('input#Expand').val(1);
- Core.Form.Validate.DisableValidation(\$(this).closest('form'));
- \$(this).closest('form').submit();
- });
-//]]></script>
-<!--dtl:js_on_document_complete-->
-EOF
- }
-
# call EditLabelRender on the common backend
my $LabelString = $Self->{BackendCommonObject}->EditLabelRender(
Author: cr
Index: Dropdown.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/DynamicField/Backend/Dropdown.pm,v
retrieving revision 1.72
retrieving revision 1.73
diff -2 -u -d -r1.72 -r1.73
--- Dropdown.pm 3 Dec 2012 11:29:12 -0000 1.72
+++ Dropdown.pm 20 Dec 2012 16:07:23 -0000 1.73
@@ -321,23 +321,4 @@
}
- if ( $Param{SubmitOnChange} ) {
-
- my $FieldSelector = '#' . $FieldName;
-
- #add js to disable validation and do submit()
- $HTMLString .= <<"EOF";
-<!--dtl:js_on_document_complete-->
-<script type="text/javascript">//<![CDATA[
- \$('$FieldSelector').bind('change', function (Event) {
- // make sure the ticket is not yet created on queue change
- \$('input#Expand').val(1);
- Core.Form.Validate.DisableValidation(\$(this).closest('form'));
- \$(this).closest('form').submit();
- });
-//]]></script>
-<!--dtl:js_on_document_complete-->
-EOF
- }
-
# call EditLabelRender on the common backend
my $LabelString = $Self->{BackendCommonObject}->EditLabelRender(
---------------------------------------------------------------------
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