[Bps-public-commit] rt-extension-ajaxpreviewscrips branch, master, updated. 6edab46e38b20e4a13b24443527ab0e7b5c0724f
? sunnavy
sunnavy at bestpractical.com
Thu Jun 26 10:44:18 EDT 2014
The branch, master has been updated
via 6edab46e38b20e4a13b24443527ab0e7b5c0724f (commit)
from 474fb04ac37ad41fcb37bcdcb12f570e373dc195 (commit)
Summary of changes:
html/Ticket/Elements/PreviewScrips | 2 +-
html/Ticket/Elements/ShowSimplifiedRecipients | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 6edab46e38b20e4a13b24443527ab0e7b5c0724f
Author: sunnavy <sunnavy at bestpractical.com>
Date: Thu Jun 26 22:43:30 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/html/Ticket/Elements/PreviewScrips b/html/Ticket/Elements/PreviewScrips
index 1d1e226..51f7652 100644
--- a/html/Ticket/Elements/PreviewScrips
+++ b/html/Ticket/Elements/PreviewScrips
@@ -50,7 +50,7 @@ $TicketObj => undef
</%args>
<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() {
diff --git a/html/Ticket/Elements/ShowSimplifiedRecipients b/html/Ticket/Elements/ShowSimplifiedRecipients
index 77e5d8d..74394cf 100644
--- a/html/Ticket/Elements/ShowSimplifiedRecipients
+++ b/html/Ticket/Elements/ShowSimplifiedRecipients
@@ -50,7 +50,7 @@ $TicketObj
</%ARGS>
<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() {
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list