[Rt-commit] rt branch, 4.4/ajax-preview-scrips, updated. rt-4.2.3-204-g355ed02
? sunnavy
sunnavy at bestpractical.com
Thu Jun 26 10:34:19 EDT 2014
The branch, 4.4/ajax-preview-scrips has been updated
via 355ed02acf0b12fc8813e14b0b3fc1b9ec81a1d2 (commit)
from 9b4394972dc21c1e64899d69a4ca542ebe507d11 (commit)
Summary of changes:
share/html/Ticket/Update.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 355ed02acf0b12fc8813e14b0b3fc1b9ec81a1d2
Author: sunnavy <sunnavy at bestpractical.com>
Date: Thu Jun 26 22:27:27 2014 +0800
trigger ajax call for all inputs in "Ticket and Transaction"
because we are gonna support those changes(e.g. "Status" and "Owner") for
preview scrips too.
diff --git a/share/html/Ticket/Update.html b/share/html/Ticket/Update.html
index 902ebcf..faec518 100644
--- a/share/html/Ticket/Update.html
+++ b/share/html/Ticket/Update.html
@@ -139,7 +139,7 @@
% if ( RT->Config->Get('SimplifiedRecipients', $session{'CurrentUser'}) ) {
<script type="text/javascript">
jQuery( function() {
- jQuery('#UpdateType').change( function() {
+ jQuery("#ticket-update-metadata :input").change( function() {
jQuery('#recipients div.titlebox-content').load( '<% RT->Config->Get('WebPath')%>/Helpers/ShowSimplifiedRecipients',
jQuery('form[name=TicketUpdate]').serialize(),
function() {
@@ -209,7 +209,7 @@ jQuery( function() {
% if ($TicketObj->CurrentUserHasRight('ShowOutgoingEmail')) {
<script type="text/javascript">
jQuery( function() {
- jQuery('#UpdateType').change( function() {
+ jQuery("#ticket-update-metadata :input").change( function() {
jQuery('#previewscrips div.titlebox-content').load( '<% RT->Config->Get('WebPath')%>/Helpers/PreviewScrips',
jQuery('form[name=TicketUpdate]').serialize(),
function() {
-----------------------------------------------------------------------
More information about the rt-commit
mailing list