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";
|
||||
|
||||
$('#carddavExposeSystemAddressBook').change(function() {
|
||||
var val = $(this)[0].checked;
|
||||
|
||||
OCP.AppConfig.setValue('dav', 'exposeSystemAddressBook', val ? 'yes' : 'no');
|
||||
});
|
||||
document.getElementById('carddavExposeSystemAddressBook').onclick = function() {
|
||||
OCP.AppConfig.setValue('dav', 'exposeSystemAddressBook', this.checked ? 'yes' : 'no');
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue