Added tableId to App.TicketList for sizeable table columns.
This commit is contained in:
parent
1b4fbd6b4c
commit
0766ffc0f5
2 changed files with 3 additions and 0 deletions
|
@ -192,6 +192,7 @@ class App.UiElement.ticket_selector
|
|||
@ticketTable: (ticket_ids, ticket_count, item) ->
|
||||
item.find('.js-previewCounter').html(ticket_count)
|
||||
new App.TicketList(
|
||||
tableId: 'ticket-selector'
|
||||
el: item.find('.js-previewTable')
|
||||
ticket_ids: ticket_ids
|
||||
)
|
||||
|
|
|
@ -26,12 +26,14 @@ class App.TicketMerge extends App.ControllerModal
|
|||
content = $( App.view('agent_ticket_merge')() )
|
||||
|
||||
new App.TicketList(
|
||||
tableId: 'ticket-merge-customer-tickets'
|
||||
el: content.find('#ticket-merge-customer-tickets')
|
||||
ticket_ids: @ticket_ids_by_customer
|
||||
radio: true
|
||||
)
|
||||
|
||||
new App.TicketList(
|
||||
tableId: 'ticket-merge-recent-tickets'
|
||||
el: content.find('#ticket-merge-recent-tickets')
|
||||
ticket_ids: @ticket_ids_recent_viewed
|
||||
radio: true
|
||||
|
|
Loading…
Reference in a new issue