diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-04-26 07:48:28 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-04-26 07:48:28 +0000 |
commit | ddd6ac8cd4d0613121a2ed79d3aca794ce5e59b0 (patch) | |
tree | f7cf1ba904c23308b46aa1a7ee55744e695885cb /app/views/common | |
parent | 613757a83de4f1072cd40a72edfb57ec1caf4882 (diff) | |
download | redmine-ddd6ac8cd4d0613121a2ed79d3aca794ce5e59b0.tar.gz redmine-ddd6ac8cd4d0613121a2ed79d3aca794ce5e59b0.zip |
Don't submit the form when tabs are inside a form (#16708).
Patch by Nicolas Rodriguez.
git-svn-id: http://svn.redmine.org/redmine/trunk@13108 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/common')
-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 34fd570ea..ffb7f2afa 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);"></button> - <button class="tab-right" onclick="moveTabRight(this);"></button> + <button class="tab-left" onclick="moveTabLeft(this); return false;"></button> + <button class="tab-right" onclick="moveTabRight(this); return false;"></button> </div> </div> |