reset dropdown on hide
This commit is contained in:
parent
9acad47838
commit
e4138e8cde
2 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@ class App.TicketCreate extends App.Controller
|
|||
'submit form': 'submit'
|
||||
'click .submit': 'submit'
|
||||
'click .cancel': 'cancel'
|
||||
'hide.bs.dropdown .js-recipientDropdown': 'hideOrganisationMembers'
|
||||
'click .js-organisation': 'showOrganisationMembers'
|
||||
'click .js-back': 'hideOrganisationMembers'
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
<input type="hidden" name="formSenderType"/>
|
||||
<div class="form-group">
|
||||
<label for="customer_id">Customer</label>
|
||||
<div class="dropdown">
|
||||
<div class="dropdown js-recipientDropdown">
|
||||
<div class="dropdown-toggle u-positionOrigin" data-toggle="dropdown">
|
||||
<input id="customer_id" name="customer_id_autocompletion" class="ui-autocomplete-input form-control" autocapitalize="off" placeholder="Enter Person or Organisation/Company" autocomplete="off" role="textbox" aria-autocomplete="list" aria-haspopup="true">
|
||||
<span class="caret"></span>
|
||||
|
|
Loading…
Reference in a new issue