Mailing List Archive

rtir branch, 5.0/update-incident-create-input, created. 5.0.0beta1-2-gd95caa00
The branch, 5.0/update-incident-create-input has been created
at d95caa00b3aece48e41a4ccb426bf5aa734aa648 (commit)

- Log -----------------------------------------------------------------
commit ec4d10443c333b5ac2d7ad7411a327720e0d9b4e
Author: craig kaiser <craig@bestpractical.com>
Date: Thu Jun 18 15:14:33 2020 -0400

Add autocomplete for select Incident input

diff --git a/html/RTIR/Elements/SelectIncident b/html/RTIR/Elements/SelectIncident
index 10f5a778..38a60587 100644
--- a/html/RTIR/Elements/SelectIncident
+++ b/html/RTIR/Elements/SelectIncident
@@ -68,7 +68,7 @@
<input type="hidden" name="<% $Name %>" value="<% $potential[0] %>" />
% }
<div class="col-auto">
- <input class="form-control" type="text" name="<% $Name %>" value="" />
+ <input class="form-control" type="text" name="<% $Name %>" value="" data-autocomplete-multiple="1" data-autocomplete="Tickets" data-autocomplete-limit="queue='Incidents' AND Status='__Active__'" />
</div>
% if ( $config->{'Multiple'} || @potential ) {
<div class="col-auto">

commit d95caa00b3aece48e41a4ccb426bf5aa734aa648
Author: craig kaiser <craig@bestpractical.com>
Date: Thu Jun 18 15:14:53 2020 -0400

Rename SelectIncident input from 'More' to 'Add'

diff --git a/html/RTIR/Elements/SelectIncident b/html/RTIR/Elements/SelectIncident
index 38a60587..2639a383 100644
--- a/html/RTIR/Elements/SelectIncident
+++ b/html/RTIR/Elements/SelectIncident
@@ -72,7 +72,7 @@
</div>
% if ( $config->{'Multiple'} || @potential ) {
<div class="col-auto">
- <input type="submit" name="<% "More$Name" %>" value="<% $config->{'Multiple'}? loc('More') : loc('Other') %>" class="form-control btn btn-primary button" />
+ <input type="submit" name="<% "More$Name" %>" value="<% $config->{'Multiple'}? loc('Add') : loc('Other') %>" class="form-control btn btn-primary button" />
</div>
% }


-----------------------------------------------------------------------
_______________________________________________
rt-commit mailing list
rt-commit@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit