ticket status change did not work (radio box change)

api variable is undefined.
changed to bb variable.
This commit is contained in:
Vaidas Lungis committed 2015-05-19 16:12:59 +03:00
1 parent cfdb7e0b8a
commit 5bb1c64bd0
1 file changed
+2 -2
@@ -294,11 +294,11 @@ $(function() {
setSelRange(ta, pos, pos);
$('.shd select').change(function(){
api.get('admin/support/ticket_update', {id:{{ticket.id}}, support_helpdesk_id: $(this).val()});
bb.get('admin/support/ticket_update', {id:{{ticket.id}}, support_helpdesk_id: $(this).val()});
});
$('input.tst').click(function(){
api.get('admin/support/ticket_update', {id:{{ticket.id}}, status: $(this).val()});
bb.get('admin/support/ticket_update', {id:{{ticket.id}}, status: $(this).val()});
});
$('.conversation').on('click', '.head', function(e){