phone: always use ajax to get list of phone calls (#15592)
This commit is contained in:
parent
c2e7a2fb69
commit
b0f33b02ce
|
@ -41,6 +41,8 @@ class Home(object):
|
|||
zone.request = self.request
|
||||
context = RequestContext(self.request)
|
||||
context.update(zone.get_context_data())
|
||||
# always use ajax to get list of phone calls
|
||||
del context['phonecalls']
|
||||
tmpl = template.loader.get_template('welco/phone_home.html')
|
||||
return tmpl.render(context)
|
||||
|
||||
|
|
|
@ -572,7 +572,7 @@ $(function() {
|
|||
});
|
||||
}
|
||||
}
|
||||
window.setTimeout(check_calls, 1000);
|
||||
check_calls();
|
||||
}
|
||||
|
||||
$('.qualif').delegate('a.create-formdata', 'click', function() {
|
||||
|
|
Loading…
Reference in New Issue