diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-07-14 13:06:03 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-07-14 13:06:03 +0000 |
commit | ce3c8789413f828f873d6dfd7a8a516243076ff6 (patch) | |
tree | 57cb6514a6915dffe6ec156b5feafcde92664ed2 | |
parent | 2e04614e218e95672a8e064ed3e5a9f223adc4bf (diff) | |
download | redmine-ce3c8789413f828f873d6dfd7a8a516243076ff6.tar.gz redmine-ce3c8789413f828f873d6dfd7a8a516243076ff6.zip |
Use type="button" instead of return false; (#17401).
Patch by Daniel Felix.
git-svn-id: http://svn.redmine.org/redmine/trunk@13326 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/views/common/_tabs.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/common/_tabs.html.erb b/app/views/common/_tabs.html.erb index ffb7f2afa..454b5d772 100644 --- a/app/views/common/_tabs.html.erb +++ b/app/views/common/_tabs.html.erb @@ -8,8 +8,8 @@ <% end -%> </ul> <div class="tabs-buttons" style="display:none;"> - <button class="tab-left" onclick="moveTabLeft(this); return false;"></button> - <button class="tab-right" onclick="moveTabRight(this); return false;"></button> + <button class="tab-left" type="button" onclick="moveTabLeft(this);"></button> + <button class="tab-right" type="button" onclick="moveTabRight(this);"></button> </div> </div> |