Remove data- elements in resources/ we didnt end on using them

This commit is contained in:
2025-02-24 21:55:12 +11:00
parent 03c2eba9e3
commit e0e4b0264d
4 changed files with 3 additions and 8 deletions

View File

@@ -76,10 +76,6 @@
if (added_oc.sort().join('|') == newadded.sort().join('|'))
return;
var attrs = $('[data-attr-name]').map(function() {
return $(this).data('attrName');
});
// Find out what was selected, and add them
newadded.forEach(function (item) {
if (added_oc.indexOf(item) !== -1)
@@ -152,7 +148,6 @@
url: '{{ url('api/schema/objectclass/attrs') }}/'+item,
cache: false
});
});
// Loop through added_oc, and remove anything not in newadded