mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-18 07:52:21 +01:00
Automatically check radio when new addressbook fields get focus.
This commit is contained in:
parent
db14482378
commit
e805d90f21
@ -1,4 +1,11 @@
|
||||
<div id="selectaddressbook_dialog" title="<?php echo $l->t("Select Address Books"); ?>">
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$('input.name,input.desc').on('focus', function(e) {
|
||||
$('#book_new').prop('checked', true);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<form>
|
||||
<table style="width: 100%">
|
||||
<?php foreach($_['addressbooks'] as $idx => $addressbook) { ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user