mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-30 05:16:28 +02:00
MAJ des appels magicSuggest avec le nouveau retour d'appel JSON
This commit is contained in:
parent
137b231fae
commit
8b188ec670
4 changed files with 19 additions and 19 deletions
|
@ -66,8 +66,8 @@
|
||||||
{
|
{
|
||||||
jQuery(this).magicSuggest({
|
jQuery(this).magicSuggest({
|
||||||
data: '<?php echo $this->generateUrl('contacts', 'jsonGetContacts'); ?>',
|
data: '<?php echo $this->generateUrl('contacts', 'jsonGetContacts'); ?>',
|
||||||
valueField: 'id',
|
valueField: '<?php echo RASPISMS_SETTINGS_EXTENDED_CONTACTS_INFOS ? 'contacts.' : ''; ?>id',
|
||||||
displayField: 'name',
|
displayField: '<?php echo RASPISMS_SETTINGS_EXTENDED_CONTACTS_INFOS ? 'contacts.' : ''; ?>name',
|
||||||
name: 'contacts[]'
|
name: 'contacts[]'
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -81,8 +81,8 @@
|
||||||
{
|
{
|
||||||
jQuery(this).magicSuggest({
|
jQuery(this).magicSuggest({
|
||||||
data: '<?php echo $this->generateUrl('contacts', 'jsonGetContacts'); ?>',
|
data: '<?php echo $this->generateUrl('contacts', 'jsonGetContacts'); ?>',
|
||||||
valueField: 'id',
|
valueField: '<?php echo RASPISMS_SETTINGS_EXTENDED_CONTACTS_INFOS ? 'contacts.' : ''; ?>id',
|
||||||
displayField: 'name',
|
displayField: '<?php echo RASPISMS_SETTINGS_EXTENDED_CONTACTS_INFOS ? 'contacts.' : ''; ?>name',
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -91,8 +91,8 @@
|
||||||
{
|
{
|
||||||
jQuery(this).magicSuggest({
|
jQuery(this).magicSuggest({
|
||||||
data: '<?php echo $this->generateUrl('contacts', 'jsonGetContacts'); ?>',
|
data: '<?php echo $this->generateUrl('contacts', 'jsonGetContacts'); ?>',
|
||||||
valueField: 'id',
|
valueField: '<?php echo RASPISMS_SETTINGS_EXTENDED_CONTACTS_INFOS ? 'contacts.' : ''; ?>id',
|
||||||
displayField: 'name',
|
displayField: '<?php echo RASPISMS_SETTINGS_EXTENDED_CONTACTS_INFOS ? 'contacts.' : ''; ?>name',
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -109,8 +109,8 @@
|
||||||
{
|
{
|
||||||
jQuery(this).magicSuggest({
|
jQuery(this).magicSuggest({
|
||||||
data: '<?php echo $this->generateUrl('contacts', 'jsonGetContacts'); ?>',
|
data: '<?php echo $this->generateUrl('contacts', 'jsonGetContacts'); ?>',
|
||||||
valueField: 'id',
|
valueField: '<?php echo RASPISMS_SETTINGS_EXTENDED_CONTACTS_INFOS ? 'contacts.' : ''; ?>id',
|
||||||
displayField: 'name',
|
displayField: '<?php echo RASPISMS_SETTINGS_EXTENDED_CONTACTS_INFOS ? 'contacts.' : ''; ?>name',
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue