- Authored by
-
André Jaenisch
- Authored at
-
- Committed by
-
GitHub
- Committed at
-
- Signature
-
View
- Object name
- ebeb6e7c71a0c763b52153f4eb427e7c5b89a95e
- Parent
-
df0fb17d
A minimal change to replace data calls with attr as per guidelines (#19900)
This affects the manage topics on a repository.
Namely the done button once changes are made.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Changes
1 changed files
(+1/-1)
-
-
saveBtn.on('click', () => {
const topics = $('input[name=topics]').val();
-
$.post(saveBtn.data('link'), {
+
$.post(saveBtn.attr('data-link'), {
_csrf: csrfToken,
topics
}, (_data, _textStatus, xhr) => {