Vote #75366
完了Better fix for r13159 issue #16708
開始日:
2022/05/09
期日:
進捗率:
0%
予定工数:
Redmineorg_URL:
category_id:
30
version_id:
81
issue_org_id:
17401
author_id:
61731
assigned_to_id:
0
comments:
1
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
説明
You can fix this one with a little bit cleaner code:
Change:
@@
to:
@@
Browsers defaults often to type="submit" which submits the form. If you explicite define a type, it will be fine.
The return false; is not the cleanest way, as... if you call some code afterwards, it won't be executed because the propagation ends there.
journals
Patch committed in r13326, thanks!
--------------------------------------------------------------------------------
Admin Redmine さんがほぼ4年前に更新
- カテゴリ を Code cleanup/refactoring_30 にセット
- 対象バージョン を 2.6.0_81 にセット
いいね!0