canvas-lms/ui/features/submissions
Michael Hulse ebf2f0f3e2 update codebase to use .prop() over .attr()
In this commit the codebase has been updated to use .prop()
over .attr().

The .attr() calls were found using this regex:

\.attr\(\s*['"](?:checked|disabled|selected)

This regex looks to update attributes from .attr(...) to
.prop(...) to ensure compatibility with jQuery 3.5 as these
are boolean properties (checked, disabled, and selected).

unblocking jquery upgrade path

refs FOO-4260
flag=none

test plan: tests pass

[skip-crystalball]

Change-Id: Ieddff1688ca9d8659b9b952ae548aad8c7b58dd8
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/341290
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Angela Gomba <angela.gomba@instructure.com>
QA-Review: Michael Hulse <michael.hulse@instructure.com>
Product-Review: Michael Hulse <michael.hulse@instructure.com>
2024-02-26 20:14:43 +00:00
..
jquery update codebase to use .prop() over .attr() 2024-02-26 20:14:43 +00:00
index.js add custom status pills to submission details page 2023-10-16 20:25:56 +00:00
package.json Associate UI feature folders with teams 2023-12-07 21:24:22 +00:00