[otrs-cvs] otrs/scripts/test/Layout BuildSelection.t,1.13,1.14
"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-serv3847/scripts/test/Layout
Modified Files:
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.13
retrieving revision 1.14
diff -2 -u -d -r1.13 -r1.14
--- BuildSelection.t 20 Nov 2012 16:10:36 -0000 1.13
+++ BuildSelection.t 22 Nov 2012 09:24:02 -0000 1.14
@@ -159,4 +159,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 id="Select1ID" name="Select1" onchange="Core.AJAX.FormUpdate($('#Select1ID'), 'test', 'Select1', ['1', '2']);">
+ <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