]> source.dussan.org Git - redmine.git/commitdiff
Use type="button" instead of return false; (#17401).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 14 Jul 2014 13:06:03 +0000 (13:06 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 14 Jul 2014 13:06:03 +0000 (13:06 +0000)
Patch by Daniel Felix.

git-svn-id: http://svn.redmine.org/redmine/trunk@13326 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/common/_tabs.html.erb

index ffb7f2afa5a17c54830238df9e15afd16d4c0b56..454b5d77219dd0a2856184a0f884d443b25f8f2b 100644 (file)
@@ -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>