[Bps-public-commit] rt-extension-repeatticket branch, rt5, updated. 1.11-15-ge5304c1
? sunnavy
sunnavy at bestpractical.com
Mon Mar 22 11:40:31 EDT 2021
The branch, rt5 has been updated
via e5304c11677d92d04920478f977b936afb9346a1 (commit)
from 66d618eb2bf64efe68157fbff54af67e3f92e0fb (commit)
Summary of changes:
lib/RT/Extension/RepeatTicket.pm | 4 ++++
1 file changed, 4 insertions(+)
- Log -----------------------------------------------------------------
commit e5304c11677d92d04920478f977b936afb9346a1
Author: sunnavy <sunnavy at bestpractical.com>
Date: Mon Mar 22 23:39:29 2021 +0800
No need to save unrelated params into attribute for inline edit
diff --git a/lib/RT/Extension/RepeatTicket.pm b/lib/RT/Extension/RepeatTicket.pm
index a8029f8..2696c41 100644
--- a/lib/RT/Extension/RepeatTicket.pm
+++ b/lib/RT/Extension/RepeatTicket.pm
@@ -49,6 +49,10 @@ sub SetRepeatAttribute {
%args
);
+ # Drop unrelated params from inline edit, UpdateContent is from core,
+ # SubmitRecurrence is the submit button.
+ delete $repeat_args{$_} for qw/UpdateContent SubmitRecurrence/;
+
my ($valid, $message) = ValidateArgs(\%repeat_args);
if ( not $valid ){
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list