Commit 123ea896 authored by okhin's avatar okhin

Updatingthe synatx error on javascript

parent 163d7fe3
...@@ -27,7 +27,7 @@ $(document).ready(function() { ...@@ -27,7 +27,7 @@ $(document).ready(function() {
$('input.autocomplete').autocomplete({ $('input.autocomplete').autocomplete({
data: { data: {
<repeat group="{{ @contacts }}" value="{{ @contact }}"> <repeat group="{{ @contacts }}" value="{{ @contact }}">
"{{ @contact.full_name }}": <check if="{{ @contact.photo == '' }}">null<false>{{ @contact.photo }}</false></check>, "{{ @contact.full_name }}": <check if="{{ @contact.photo == '' }}">null<false>"{{ @contact.photo }}"</false></check>,
</repeat> </repeat>
}, },
limit: 20, limit: 20,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment