Fixed save of task state.
This commit is contained in:
parent
fb64e186b5
commit
d4c4f797d6
2 changed files with 6 additions and 3 deletions
|
@ -159,8 +159,11 @@ class App.TicketCreate extends App.Controller
|
||||||
buildScreen: (params) =>
|
buildScreen: (params) =>
|
||||||
|
|
||||||
if !params.ticket_id && !params.article_id
|
if !params.ticket_id && !params.article_id
|
||||||
|
if !_.isEmpty(params.customer_id)
|
||||||
@render(options: { customer_id: params.customer_id })
|
@render(options: { customer_id: params.customer_id })
|
||||||
return
|
return
|
||||||
|
@render()
|
||||||
|
return
|
||||||
|
|
||||||
# fetch split ticket data
|
# fetch split ticket data
|
||||||
@ajax(
|
@ajax(
|
||||||
|
|
|
@ -19,8 +19,8 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-controls">
|
<div class="form-controls">
|
||||||
<a class="btn btn--text btn--subtle js-cancel" href="#/"><%- @T( 'Cancel & Go Back' ) %></a>
|
<a class="btn btn--text btn--subtle js-cancel" href="#/"><%- @T('Cancel & Go Back') %></a>
|
||||||
<button type="submit" class="btn btn--success js-submit align-right"><%- @T( 'Create' ) %></button>
|
<button type="submit" class="btn btn--success js-submit align-right"><%- @T('Create') %></button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue