askap-vast / vast-pipeline

This repository holds the code of the Radio Transient detection pipeline for the VAST project.
https://vast-survey.org/vast-pipeline/
MIT License
7 stars 3 forks source link

Modal buttons causing JS error on run detail page #637

Open ajstewart opened 2 years ago

ajstewart commented 2 years ago

The modals on the run detail page, that are used for the various run task buttons, are causing a JS error in the browser console, along with other warnings. Something to do with the checkboxes that are used in these modals.

https://github.com/askap-vast/vast-pipeline/blob/c49e1a6eff500e9b2711113a2822bc6151462f86/templates/run_detail.html#L427-L642

Does not seem to affect functionality.

button.js:177 

       Uncaught TypeError: Cannot read properties of null (reading 'checked')
    at button.js:177:15
    at dispatch (jquery.min.js:2:43064)
    at v.handle (jquery.min.js:2:41048)
Screen Shot 2022-03-02 at 15 39 50