Browse Source

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
tags/0.7.0-RC1
Jean-Philippe Lang 16 years ago
parent
commit
d5b9dedca2
2 changed files with 2 additions and 1 deletions
  1. 1
    1
      app/views/issues/_form.rhtml
  2. 1
    0
      public/javascripts/jstoolbar/jstoolbar.js

+ 1
- 1
app/views/issues/_form.rhtml View 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">

+ 1
- 0
public/javascripts/jstoolbar/jstoolbar.js View 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');

Loading…
Cancel
Save