From 35c8fd5586ac4fe9fb192974bcba519bfc1eb964 Mon Sep 17 00:00:00 2001 From: Jacob Schatz Date: Tue, 20 Feb 2018 22:20:48 +0000 Subject: Update to jQuery 3. --- app/assets/javascripts/protected_tags/protected_tag_edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/assets/javascripts/protected_tags/protected_tag_edit.js') diff --git a/app/assets/javascripts/protected_tags/protected_tag_edit.js b/app/assets/javascripts/protected_tags/protected_tag_edit.js index 21a258cf93c..8687b2a4044 100644 --- a/app/assets/javascripts/protected_tags/protected_tag_edit.js +++ b/app/assets/javascripts/protected_tags/protected_tag_edit.js @@ -31,7 +31,7 @@ export default class ProtectedTagEdit { axios.patch(this.$wrap.data('url'), { protected_tag: { create_access_levels_attributes: [{ - id: this.$allowedToCreateDropdownButton.data('access-level-id'), + id: this.$allowedToCreateDropdownButton.data('accessLevelId'), access_level: $allowedToCreateInput.val(), }], }, -- cgit v1.2.1