File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11window . addEventListener ( 'DOMContentLoaded' , ( ) => {
22 $ ( '#excludedGroups,#linksExcludedGroups,#passwordsExcludedGroups' ) . each ( function ( index , element ) {
33 OC . Settings . setupGroupsSelect ( $ ( element ) )
4- $ ( element ) . change ( ( ev ) => {
4+ $ ( element ) . change ( function ( ev ) {
55 let groups = ev . val || [ ]
66 groups = JSON . stringify ( groups )
77 OCP . AppConfig . setValue ( 'core' , $ ( this ) . attr ( 'name' ) , groups )
88 } )
99 } )
1010
11- $ ( '#loglevel' ) . change ( ( ) => {
11+ $ ( '#loglevel' ) . change ( function ( ) {
1212 $ . post ( OC . generateUrl ( '/settings/admin/log/level' ) , { level : $ ( this ) . val ( ) } , ( ) => {
1313 OC . Log . reload ( )
1414 } )
@@ -253,11 +253,11 @@ window.addEventListener('DOMContentLoaded', () => {
253253 } )
254254 } )
255255
256- $ ( '#allowGroupSharing' ) . change ( ( ) => {
256+ $ ( '#allowGroupSharing' ) . change ( function ( ) {
257257 $ ( '#allowGroupSharing' ) . toggleClass ( 'hidden' , ! this . checked )
258258 } )
259259
260- $ ( '#shareapiExcludeGroups' ) . change ( ( ) => {
260+ $ ( '#shareapiExcludeGroups' ) . change ( function ( ) {
261261 $ ( '#selectExcludedGroups' ) . toggleClass ( 'hidden' , ! this . checked )
262262 } )
263263
You can’t perform that action at this time.
0 commit comments