summaryrefslogtreecommitdiff
path: root/app/views/issues/update.js.haml
blob: 44722895025f4cd56dc0117ad045b824ebc25278 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- if params[:status_only]
  - if @issue.valid?
    :plain
      $("##{dom_id(@issue)}").fadeOut();
- else
  - if @issue.valid?
    :plain
      updatePage();
      switchFromEditIssue();
  - else
    :plain
      $("#edit_issue_dialog").empty();
      $("#edit_issue_dialog").append("#{escape_javascript(render('form'))}");
      $('select#issue_assignee_id').chosen();