1
0
Fork 0
forgejo/web_src/js/features
silverwind 97aa749578
Vendor jquery.are-you-sure with strict mode fixes (#26901)
Extract from https://github.com/go-gitea/gitea/pull/25940 and because
https://github.com/go-gitea/gitea/pull/26743 does seem to need more
work.

This will be required if we are to run our JS in [strict
mode](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode).

Previously, the two variables `$fields` and `$dirtyForms` polluted
`window`:

<img width="1145" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/e0270a0e-b881-4ed7-9cc4-e9ab25c0a2bc">
2023-09-06 00:02:44 +00:00
..
admin Show the mismatched ROOT_URL warning on the sign-in page if OAuth2 is enabled (#25947) 2023-07-18 22:14:30 +00:00
comp Focus editor on "Write" tab click (#26714) 2023-08-25 13:26:32 +08:00
captcha.js
citation.js Introduce eslint-plugin-no-jquery/no-event-shorthand (#24198) 2023-04-20 05:28:27 -04:00
clipboard.js Use clippie module to copy to clipboard (#23801) 2023-04-02 17:25:36 +08:00
codeeditor.js Always pass 6-digit hex color to monaco (#25780) 2023-07-09 12:17:22 +02:00
colorpicker.js
common-global.js Vendor jquery.are-you-sure with strict mode fixes (#26901) 2023-09-06 00:02:44 +00:00
common-issue-list.js Improve "goto issue by number" button (#24577) 2023-05-10 15:50:58 +00:00
common-issue-list.test.js Improve "goto issue by number" button (#24577) 2023-05-10 15:50:58 +00:00
common-organization.js Fix Org edit page bugs: renaming detection, maxlength (#24161) 2023-04-17 11:35:57 -04:00
contextpopup.js Fix issue and commit status popup padding (#25254) 2023-06-15 10:09:16 +02:00
copycontent.js Use "small-loading-icon" insead of "btn-octicon is-loading" (#26710) 2023-08-24 10:21:41 -04:00
dropzone.js
emoji.js
eventsource.sharedworker.js
file-fold.js Scroll collapsed file into view (#23702) 2023-04-05 07:51:42 +08:00
heatmap.js Remove fomantic loader module (#26670) 2023-08-25 16:03:14 +00:00
imagediff.js Improve Image Diff UI (#26696) 2023-08-24 12:13:23 +00:00
install.js Fix various bugs for "install" page (#23194) 2023-03-04 10:12:02 +08:00
notification.js Fix notification list bugs (#25781) 2023-07-09 18:42:31 +00:00
org-team.js Add status indicator on main home screen for each repo (#24638) 2023-05-13 21:59:01 +00:00
pull-view-file.js Highlight viewed files differently in the PR filetree (#24956) 2023-06-25 08:46:30 +08:00
repo-branch.js Display warning when user try to rename default branch (#24512) 2023-05-04 22:54:38 +00:00
repo-code.js Change form actions to fetch for submit review box (#25219) 2023-06-14 16:01:37 +08:00
repo-code.test.js
repo-commit.js Show branches and tags that contain a commit (#25180) 2023-07-27 12:47:41 +02:00
repo-common.js Remove some transition related code (#26755) 2023-08-28 01:26:23 +00:00
repo-diff-commit.js Hide branch/tag icon if branches/tags are empty (#26204) 2023-07-28 23:05:24 +08:00
repo-diff-commitselect.js Add commits dropdown in PR files view and allow commit by commit review (#25528) 2023-07-28 21:18:12 +02:00
repo-diff-filetree.js
repo-diff.js Remove "TODO" tasks from CSS file (#26835) 2023-08-31 10:49:53 +00:00
repo-editor.js Use unique class for breadcrumb divider (#26524) 2023-08-16 00:08:23 +00:00
repo-findfile.js Refactor branch/tag selector to Vue SFC (#23421) 2023-03-14 17:51:20 +08:00
repo-findfile.test.js Refactor branch/tag selector to Vue SFC (#23421) 2023-03-14 17:51:20 +08:00
repo-graph.js Refactor hiding-methods, remove jQuery show/hide, remove .hide class, remove inline style=display:none (#22950) 2023-02-19 12:06:14 +08:00
repo-home.js Fix the topic validation rule and suport dots (#26286) 2023-08-03 09:18:06 +00:00
repo-issue-content.js Clarify "text-align" CSS helpers, fix clone button padding (#25763) 2023-07-08 11:53:56 +02:00
repo-issue-list.js Refactor project templates (#26448) 2023-08-12 10:30:28 +00:00
repo-issue-pr-form.js
repo-issue.js Remove "TODO" tasks from CSS file (#26835) 2023-08-31 10:49:53 +00:00
repo-legacy.js Remove "TODO" tasks from CSS file (#26835) 2023-08-31 10:49:53 +00:00
repo-migrate.js Add Retry button when creating a mirror-repo fails (#26228) 2023-08-04 10:21:32 +08:00
repo-migration.js Use "input" event instead of "keyup" event for migration form (#26602) 2023-08-20 16:36:07 +02:00
repo-projects.js Refactor project templates (#26448) 2023-08-12 10:30:28 +00:00
repo-release.js Update JS dependencies, add new eslint rules (#24597) 2023-05-09 02:35:49 +00:00
repo-settings.js Support for status check pattern (#24633) 2023-05-17 16:11:13 +08:00
repo-template.js Add status indicator on main home screen for each repo (#24638) 2023-05-13 21:59:01 +00:00
repo-unicode-escape.js Improve accessibility when (re-)viewing files (#24817) 2023-05-21 20:47:41 +00:00
repo-wiki.js Improve wiki sidebar and TOC (#25460) 2023-06-23 15:51:43 -04:00
sshkey-helper.js
stopwatch.js
tablesort.js
tribute.js Avoiding accessing undefined mentionValues (#26461) 2023-08-12 08:36:23 +00:00
user-auth-webauthn.js Fix webauthn regression and improve code (#25113) 2023-06-07 19:20:18 +08:00
user-auth.js Show the mismatched ROOT_URL warning on the sign-in page if OAuth2 is enabled (#25947) 2023-07-18 22:14:30 +00:00
user-settings.js Refactor hiding-methods, remove jQuery show/hide, remove .hide class, remove inline style=display:none (#22950) 2023-02-19 12:06:14 +08:00