[otrs-cvs] otrs/scripts/test/Layout BuildSelection.t, 1.9.2.2, 1.9.2.3
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs/scripts/test/Layout
In directory lancelot:/tmp/cvs-serv3926/scripts/test/Layout
Modified Files:
Tag: rel-3_1
BuildSelection.t
Log Message:
- 2012-11-22 Fixed bug#8937 - "$" should be escaped in interpolated strings when javascript is meant.
Author: mg
Index: BuildSelection.t
===================================================================
RCS file: /home/cvs/otrs/scripts/test/Layout/BuildSelection.t,v
retrieving revision 1.9.2.2
retrieving revision 1.9.2.3
diff -2 -u -d -r1.9.2.2 -r1.9.2.3
--- BuildSelection.t 14 Jun 2012 17:59:47 -0000 1.9.2.2
+++ BuildSelection.t 22 Nov 2012 09:24:52 -0000 1.9.2.3
@@ -119,4 +119,48 @@
},
{
+ Name => 'AJAX (undocumented option)',
+ Definition => {
+ Data => {
+ 1 => 'Object1',
+ },
+ Name => 'Select1',
+ ID => 'Select1ID',
+ Sort => 'TreeView',
+ Multiple => 0,
+ Ajax => {
+ Subaction => 'test',
+ Depend => 'other',
+ Update => [ 1, 2 ],
+ },
+ OnChange => undef,
+ OnClick => undef,
+ SelectedID => 2,
+ SelectedValue => undef,
+ SortReverse => 0,
+ Translation => 0,
+ PossibleNone => 0,
+ TreeView => 1,
+ DisabledBranch => undef,
+ Max => undef,
+ HTMLQuote => 0,
+ Title => undef,
+ OptionTitle => 0,
+ },
+ Response =>
+ q{<select onchange="Core.AJAX.FormUpdate($('#Select1ID'), 'test', 'Select1', ['1', '2']);" name="Select1" id="Select1ID">
+ <option value="1">Object1</option>
+</select>},
+ Success => 1,
+ ExecuteJSON => 1,
+ JSONResponse => {
+ 'Select1' => [
+ [
+ '1', 'Object1',
+ $JSONFalse, $JSONFalse, $JSONFalse,
+ ],
+ ],
+ },
+ },
+ {
Name => 'Normal Tree (Hash)',
Definition => {
---------------------------------------------------------------------
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