[Rt-commit] rt branch, 4.4/keyboard-shortcut-correspond, repushed

Craig Kaiser craig at bestpractical.com
Wed May 9 11:53:33 EDT 2018


The branch 4.4/keyboard-shortcut-correspond was deleted and repushed:
       was d9bd04bbb2cb4808ee27449c4d9f0f7da1b1fbc9
       now 9087f397db2275e51dfeaa37c2d2bb6e81e8a7c0

1: cf6d5abb0 ! 1: 9087f397d Add keyboard shortcuts for reply and comment
    @@ -38,13 +38,13 @@
     +%   if ( $show_ticket_reply ) {
     +                <tr>
     +                    <td class="key-column"><span class="keyboard-shortcuts-key">r</span></td>
    -+                    <td><&|/l&>Reply To Current Ticket</&></td>
    ++                    <td><&|/l&>Reply to current ticket</&></td>
     +                </tr>
     +%   }
     +%   if ( $show_ticket_comment ) {
     +                <tr>
     +                    <td class="key-column"><span class="keyboard-shortcuts-key">c</span></td>
    -+                    <td><&|/l&>Comment On Current Ticket</&></td>
    ++                    <td><&|/l&>Comment on current ticket</&></td>
     +                </tr>
     +%   }
     +            </table>
    @@ -107,7 +107,7 @@
      });
      
     +jQuery(function() {
    -+    // Only load these shortcuts if on ticket display page
    ++    // Only load these shortcuts if reply or comment action is on page
     +    var ticket_reply = jQuery('a#page-actions-reply');
     +    var ticket_comment = jQuery('a#page-actions-comment');
     +    if (!ticket_reply.length && !ticket_comment.length) return;
    @@ -125,4 +125,3 @@
     +    Mousetrap.bind('r', replyToTicket);
     +    Mousetrap.bind('c', commentOnTicket);
     +});
    -
2: d9bd04bbb < -:  ------- Adjust case on labels



More information about the rt-commit mailing list