Fixes typo in declaration of variables.
This commit is contained in:
parent
f8206ea86f
commit
bbefa26980
1 changed files with 2 additions and 2 deletions
|
@ -135,11 +135,11 @@ class Index extends App.Controller
|
||||||
|
|
||||||
# set prio
|
# set prio
|
||||||
priority = App.Collection.findByAttribute( 'TicketPriority', 'name', '2 normal' )
|
priority = App.Collection.findByAttribute( 'TicketPriority', 'name', '2 normal' )
|
||||||
params.ticket_state_id = priority.id
|
params.ticket_priority_id = priority.id
|
||||||
|
|
||||||
# set state
|
# set state
|
||||||
state = App.Collection.findByAttribute( 'TicketState', 'name', 'new' )
|
state = App.Collection.findByAttribute( 'TicketState', 'name', 'new' )
|
||||||
params.ticket_priority_id = state.id
|
params.ticket_state_id = state.id
|
||||||
|
|
||||||
# fillup params
|
# fillup params
|
||||||
if !params.title
|
if !params.title
|
||||||
|
|
Loading…
Reference in a new issue