[Rt-commit] [rtir] 05/22: Add ids to RTIR ticket creation elements to make testing easier
Jesse Vincent
jesse at bestpractical.com
Sun Mar 29 02:50:57 EDT 2015
This is an automated email from the git hooks/post-receive script.
jesse pushed a commit to branch 3.4/remove_old_constituencies
in repository rtir.
commit 4dd535acc1164503f0c25953f041185d346e1ef6
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Sat Mar 28 16:34:00 2015 -0700
Add ids to RTIR ticket creation elements to make testing easier
---
html/RTIR/Create.html | 2 +-
html/RTIR/Incident/Create.html | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/html/RTIR/Create.html b/html/RTIR/Create.html
index dadf216..685d02e 100644
--- a/html/RTIR/Create.html
+++ b/html/RTIR/Create.html
@@ -315,7 +315,7 @@
</table></&>
-<& /Elements/Submit, Name => "Create", Label => $SubmitCaption &>
+<& /Elements/Submit, Name => "Create", Label => $SubmitCaption, SubmitId => 'create-ticket' &>
</div></div>
diff --git a/html/RTIR/Incident/Create.html b/html/RTIR/Incident/Create.html
index 99e715a..c6dbe58 100644
--- a/html/RTIR/Incident/Create.html
+++ b/html/RTIR/Incident/Create.html
@@ -260,7 +260,7 @@ if ( $ChildObj && !$ChildObj->CurrentUserHasRight('ModifyTicket') ) {
</&>
</div>
-<& /Elements/Submit, Name => 'CreateIncident', Label => $SubmitLabel &>
+<& /Elements/Submit, Name => 'CreateIncident', Label => $SubmitLabel, SubmitId => 'create-ticket' &>
</div>
@@ -277,6 +277,7 @@ if ( $ChildObj && !$ChildObj->CurrentUserHasRight('ModifyTicket') ) {
<& /Elements/Submit,
Name => 'CreateWithInvestigation',
Label => loc("Create Incident and run Investigation"),
+ SubmitId => 'create-ticket-with-investigation'
&>
</div>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list