Remove unused function calls from pending forms page
@johnlolonga19 ci sta già lavorando.
Dal 22/6/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 1
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di BCStudentSoftwareDevTeam/lsf
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
BCStudentSoftwareDevTeam/lsf#659 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
BCStudentSoftwareDevTeam/lsf#572 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
BCStudentSoftwareDevTeam/lsf#675 ·
-
draft on hold
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
BCStudentSoftwareDevTeam/lsf#674 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 50/100
BCStudentSoftwareDevTeam/lsf#673 · 1 assegnatario ·
Tutte le issue di BCStudentSoftwareDevTeam/lsf
Issue simili
-
area: harness bug status: needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Human-Agent-Society/reef#625 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
learningequality/kolibri#15351 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Name consistency Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
eellak/triplestore#65 · 1 commento ·