]> source.dussan.org Git - redmine.git/commitdiff
Added tabindex property on wiki toolbar buttons and 'new category' link.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 20 Jan 2008 17:36:01 +0000 (17:36 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 20 Jan 2008 17:36:01 +0000 (17:36 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1087 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/_form.rhtml
public/javascripts/jstoolbar/jstoolbar.js

index d91effedf53ce8778a8c1659c6f590331cf03127..0f5e10de941bf631d99e5610b51f4ee41d5da557 100644 (file)
@@ -21,7 +21,7 @@
 <%= prompt_to_remote(l(:label_issue_category_new),
                      l(:label_issue_category_new), 'category[name]', 
                      {:controller => 'projects', :action => 'add_issue_category', :id => @project},
-                     :class => 'small') if authorize_for('projects', 'add_issue_category') %></p>
+                     :class => 'small', :tabindex => 199) if authorize_for('projects', 'add_issue_category') %></p>
 </div>
 
 <div class="splitcontentright">
index 65f25bac1819bda5991721773c77093d8bcef74d..7941bd135df926e09079fdd1f97746725c64f00f 100644 (file)
@@ -81,6 +81,7 @@ jsButton.prototype.draw = function() {
        
        var button = document.createElement('button');
        button.setAttribute('type','button');
+       button.tabIndex = 200;
        if (this.className) button.className = this.className;
        button.title = this.title;
        var span = document.createElement('span');