switch to pure js
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
0f5f4cdbe1
commit
0ee66348d1
|
@ -21,8 +21,6 @@
|
||||||
*/
|
*/
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
$('#carddavExposeSystemAddressBook').change(function() {
|
document.getElementById('carddavExposeSystemAddressBook').onclick = function() {
|
||||||
var val = $(this)[0].checked;
|
OCP.AppConfig.setValue('dav', 'exposeSystemAddressBook', this.checked ? 'yes' : 'no');
|
||||||
|
};
|
||||||
OCP.AppConfig.setValue('dav', 'exposeSystemAddressBook', val ? 'yes' : 'no');
|
|
||||||
});
|
|
||||||
|
|
Loading…
Reference in New Issue