[Rt-commit] rt branch, 4.4/reattach-warning, created. rt-4.4.1-215-gfacfeca
Shawn Moore
shawn at bestpractical.com
Fri Dec 30 17:21:05 EST 2016
The branch, 4.4/reattach-warning has been created
at facfeca4d2c061695c674c72c302eb0cfbb226bd (commit)
- Log -----------------------------------------------------------------
commit facfeca4d2c061695c674c72c302eb0cfbb226bd
Author: Shawn M Moore <shawn at bestpractical.com>
Date: Fri Dec 30 22:20:04 2016 +0000
Add "reattach" as an attachment warning keyword
re-attach is already matched since - satisfies the \b word separator
Fixes: T#162602
diff --git a/share/html/Elements/JavascriptConfig b/share/html/Elements/JavascriptConfig
index 2f5fa0d..661b08e 100644
--- a/share/html/Elements/JavascriptConfig
+++ b/share/html/Elements/JavascriptConfig
@@ -65,7 +65,7 @@ if ($session{CurrentUser} and $session{CurrentUser}->id) {
my $Catalog = {
quote_in_filename => "Filenames with double quotes can not be uploaded.", #loc
- attachment_warning_regex => "\\battach", #loc
+ attachment_warning_regex => "\\b(re)?attach", #loc
shortcut_help_error => "Unable to open shortcut help. Reason:", #loc
error => "Error", #loc
check => "Check", #loc
-----------------------------------------------------------------------
More information about the rt-commit
mailing list