Fixed ticket attribute selection.
This commit is contained in:
parent
a4edcb4acb
commit
1f45d27cc0
1 changed files with 14 additions and 14 deletions
|
@ -987,7 +987,7 @@ class App.ControllerForm extends App.Controller
|
||||||
remove: true
|
remove: true
|
||||||
}
|
}
|
||||||
itemSub = @formGenItem( attribute_config )
|
itemSub = @formGenItem( attribute_config )
|
||||||
itemSub.find('.icon-minus').bind('click', (e) ->
|
itemSub.find('.glyphicon-minus').bind('click', (e) ->
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
$(@).parent().parent().parent().remove()
|
$(@).parent().parent().parent().remove()
|
||||||
)
|
)
|
||||||
|
@ -1016,18 +1016,18 @@ class App.ControllerForm extends App.Controller
|
||||||
selected: false
|
selected: false
|
||||||
disable: true
|
disable: true
|
||||||
},
|
},
|
||||||
# {
|
{
|
||||||
# value: 'tickets.number'
|
value: 'tickets.number'
|
||||||
# name: 'Number'
|
name: 'Number'
|
||||||
# selected: true
|
selected: true
|
||||||
# disable: false
|
disable: false
|
||||||
# },
|
},
|
||||||
# {
|
{
|
||||||
# value: 'tickets.title'
|
value: 'tickets.title'
|
||||||
# name: 'Title'
|
name: 'Title'
|
||||||
# selected: true
|
selected: true
|
||||||
# disable: false
|
disable: false
|
||||||
# },
|
},
|
||||||
{
|
{
|
||||||
value: 'tickets.group_id'
|
value: 'tickets.group_id'
|
||||||
name: 'Group'
|
name: 'Group'
|
||||||
|
@ -1217,7 +1217,7 @@ class App.ControllerForm extends App.Controller
|
||||||
}
|
}
|
||||||
list = @formGenItem( attribute_config )
|
list = @formGenItem( attribute_config )
|
||||||
|
|
||||||
list.find('.icon-plus').bind('click', (e) ->
|
list.find('.glyphicon-plus').bind('click', (e) ->
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
|
|
||||||
value = $(e.target).parents().find('[name=ticket_attribute_list]').val()
|
value = $(e.target).parents().find('[name=ticket_attribute_list]').val()
|
||||||
|
|
Loading…
Reference in a new issue