[otrs-cvs] otrs/Kernel/System/DynamicField Backend.pm,1.75,1.76
"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
In directory lancelot:/tmp/cvs-serv12360/Kernel/System/DynamicField
Modified Files:
Backend.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: Backend.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/DynamicField/Backend.pm,v
retrieving revision 1.75
retrieving revision 1.76
diff -2 -u -d -r1.75 -r1.76
--- Backend.pm 20 Nov 2012 15:46:23 -0000 1.75
+++ Backend.pm 20 Dec 2012 16:07:23 -0000 1.76
@@ -240,15 +240,9 @@
# on fields that apply (like checkbox)
AJAXUpdate => 1, # Optional, 0 ir 1. To create JS code for field change to update
- # the form using ACLs triggered by the field. Can't work with
- # SubmitOnChange.
+ # the form using ACLs triggered by the field.
UpdatableFields => [ # Optional, to use if AJAXUpdate is 1. List of fields to display a
NetxStateID, # spinning wheel when reloading via AJAXUpdate.
PriorityID,
],
- SubmitOnChange => 0, # Optional, 0 or 1, default 0. To set JS code to disable form
- # validation and submit on change event. this is mostly used
- # on customer interface to send dynamic field values to the
- # server and calculate ACLs correctly. This feature is not
- # available on all backends. Can't work with AJAXUpdate
);
@@ -304,13 +298,4 @@
}
- # check AJAXUpdate and SubmitOnChange
- if ( $Param{AJAXUpdate} && $Param{SubmitOnChange} ) {
- $Self->{LogObject}->Log(
- Priority => 'error',
- Message => "Can't use AJAXUpdate and SubmitOnChange at the same time!"
- );
- return;
- }
-
# set the dynamic field specific backend
my $DynamicFieldBackend = 'DynamicField' . $Param{DynamicFieldConfig}->{FieldType} . 'Object';
---------------------------------------------------------------------
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