[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rt-commit
Subject:    [Rt-commit] rt branch, 4.4/reattach-warning, created. rt-4.4.1-215-gfacfeca
From:       shawn () bestpractical ! com (Shawn Moore)
Date:       2016-12-30 22:21:05
Message-ID: 20161230222105.E83BB2418006 () booth ! bestpractical ! com
[Download RAW message or body]

The branch, 4.4/reattach-warning has been created
        at  facfeca4d2c061695c674c72c302eb0cfbb226bd (commit)

- Log -----------------------------------------------------------------
commit facfeca4d2c061695c674c72c302eb0cfbb226bd
Author: Shawn M Moore <shawn@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

-----------------------------------------------------------------------
_______________________________________________
rt-commit mailing list
rt-commit@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic