Welcome to mirror list, hosted at ThFree Co, Russian Federation.

update.js.haml « issues « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c365c3f5d55d9dc43711465433aa5a6bf8e0ae3d (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
      $("#edit_issue_dialog").dialog("close");
      $.ajax({type: "GET", url: location.href, dataType: "script"});
  - else
    :plain
      $("#edit_issue_dialog").empty();
      $("#edit_issue_dialog").append("#{escape_javascript(render('form'))}");
      $('select#issue_assignee_id').selectmenu({width:300});