diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-01-20 17:36:01 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-01-20 17:36:01 +0000 |
commit | d5b9dedca2298e8b95bbb8ac309ddfe8454a8c76 (patch) | |
tree | c6585abea45ec938d150cb549c687eb4ec6fb81d | |
parent | 0b4a02f607a1eefb89bc37b734375fb7d70afc6c (diff) | |
download | redmine-d5b9dedca2298e8b95bbb8ac309ddfe8454a8c76.tar.gz redmine-d5b9dedca2298e8b95bbb8ac309ddfe8454a8c76.zip |
Added tabindex property on wiki toolbar buttons and 'new category' link.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1087 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/views/issues/_form.rhtml | 2 | ||||
-rw-r--r-- | public/javascripts/jstoolbar/jstoolbar.js | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/views/issues/_form.rhtml b/app/views/issues/_form.rhtml index d91effedf..0f5e10de9 100644 --- a/app/views/issues/_form.rhtml +++ b/app/views/issues/_form.rhtml @@ -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"> diff --git a/public/javascripts/jstoolbar/jstoolbar.js b/public/javascripts/jstoolbar/jstoolbar.js index 65f25bac1..7941bd135 100644 --- a/public/javascripts/jstoolbar/jstoolbar.js +++ b/public/javascripts/jstoolbar/jstoolbar.js @@ -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'); |