diff options
author | Romain d'Alverny <rda@mageia.org> | 2012-12-10 14:09:35 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2012-12-10 14:09:35 +0000 |
commit | a2883a113895f3c4cfd83f920df1b43f76add3b6 (patch) | |
tree | 2a3e0db81d4927ace25ad63f80a11016fc96a17b | |
parent | 29e35ede93a8c5ae9abcc9bf124119cd96e804ef (diff) | |
download | pkgsubmit-a2883a113895f3c4cfd83f920df1b43f76add3b6.tar pkgsubmit-a2883a113895f3c4cfd83f920df1b43f76add3b6.tar.gz pkgsubmit-a2883a113895f3c4cfd83f920df1b43f76add3b6.tar.bz2 pkgsubmit-a2883a113895f3c4cfd83f920df1b43f76add3b6.tar.xz pkgsubmit-a2883a113895f3c4cfd83f920df1b43f76add3b6.zip |
add comments for 2 functions purpose
-rw-r--r-- | js/pkgsubmit.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/js/pkgsubmit.js b/js/pkgsubmit.js index 8e79a36..48b51dd 100644 --- a/js/pkgsubmit.js +++ b/js/pkgsubmit.js @@ -125,7 +125,10 @@ function highlight_text(text) { }); } + /** + * Load files list returned for current build (see href), + * build it under the build status line and show it. */ function build_log_files_list(ev) { if (!ev.metaKey) { @@ -164,6 +167,8 @@ function safe_tags_regex(str) { } /** + * If href is a log file, load it and display it in a decorated box + * plus controls to close/navigate it. */ function show_log_file(ev) { @@ -240,7 +245,6 @@ function show_log_file(ev) { } $(function () { - $('.status-link').on("click", build_log_files_list); $("table#submitted-packages tbody").on("click", "tr td li a.view-inline", show_log_file); |