Avoid selecting the help link while tabbing #150
This commit is contained in:
parent
28bbee155c
commit
c73315e6b0
@ -25,7 +25,8 @@ module Redmine
|
||||
|
||||
help_link = l(:setting_text_formatting) + ': ' +
|
||||
link_to(l(:label_help), url,
|
||||
:onclick => "window.open(\"#{ url }\", \"\", \"resizable=yes, location=no, width=300, height=640, menubar=no, status=no, scrollbars=yes\"); return false;")
|
||||
:onclick => "window.open(\"#{ url }\", \"\", \"resizable=yes, location=no, width=300, height=640, menubar=no, status=no, scrollbars=yes\"); return false;",
|
||||
:tabindex => -1)
|
||||
|
||||
javascript_include_tag('jstoolbar/jstoolbar') +
|
||||
javascript_include_tag('jstoolbar/textile') +
|
||||
|
@ -210,7 +210,6 @@ jsToolBar.prototype = {
|
||||
var h = document.createElement('div');
|
||||
h.className = 'help'
|
||||
h.innerHTML = this.help_link;
|
||||
'<a href="/help/wiki_syntax.html" onclick="window.open(\'/help/wiki_syntax.html\', \'\', \'resizable=yes, location=no, width=300, height=640, menubar=no, status=no, scrollbars=yes\'); return false;">Aide</a>';
|
||||
this.toolbar.appendChild(h);
|
||||
|
||||
// Draw toolbar elements
|
||||
|
Loading…
x
Reference in New Issue
Block a user