Remove unused function calls from pending forms page
@johnlolonga19 がすでに取り組んでいます。
2026年6月22日 から。
評価
この issue はまだ評価されていません。
説明
We are making javascript function calls on the pending forms page to nonexistent functions. They are mostly not throwing errors, but there isn't a reason for them to exist. Review the Javascript and get rid of old or nonexistent functions.
Example in app/static/js/allPendingForms.js:
151 // Try and catch is used here to prevent General Search page from reloading the entire the page.
152 try {
153 runformSearchQuery();
154 $('#approvalModal').modal('hide');
155 }
156 catch(e){
157 location.reload(true);
158 }
runformSearchQuery does not exist in the page.
Review to see if there are other things like this and decide if they need to be replaced with working functionality or if they can just be removed. Also look at surrounding code and clean up as necessary. In this example, we probably don't need a try/catch anymore, and we can just hide the approval modal.
- 主要言語
- Python
- スター
- 1
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
BCStudentSoftwareDevTeam/lsf のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
BCStudentSoftwareDevTeam/lsf#659 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
BCStudentSoftwareDevTeam/lsf#572 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
BCStudentSoftwareDevTeam/lsf#675 ·
-
draft on hold
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
BCStudentSoftwareDevTeam/lsf#674 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 50/100
BCStudentSoftwareDevTeam/lsf#673 · 担当者 1 名 ·
BCStudentSoftwareDevTeam/lsf の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
stephrobert/dsoxlab#238 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
sublimehq/package_control#1780 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
nwg-piotr/nwg-displays#145 ·