]> git.ipfire.org Git - thirdparty/patchwork.git/commit
patch-detail: refactor JS code into submission.js
authorRaxel Gutierrez <raxel@google.com>
Fri, 13 Aug 2021 05:31:20 +0000 (05:31 +0000)
committerStephen Finucane <stephen@that.guru>
Fri, 13 Aug 2021 09:25:34 +0000 (10:25 +0100)
commit3870d7b87f64812c318149b2590916ae27ab818e
treeee46fde43135908889a31b447f4bf32f6c05f963
parent70cd37b1e07461792fe370b8d1ee843d2ea51dff
patch-detail: refactor JS code into submission.js

Move submission.html script code for toggling header info to a separate
submission.js file that makes the code easy to read and ready for change
in one place.

The listener is moved from the 'href' to separate, explicit click
listener.

Signed-off-by: Raxel Gutierrez <raxel@google.com>
[stephenfin: Removed existing JS href added in previous change and
             update commit message to reflect this]
Signed-off-by: Stephen Finucane <stephen@that.guru>
htdocs/js/submission.js [new file with mode: 0644]
patchwork/templates/patchwork/submission.html