summaryrefslogtreecommitdiff
path: root/app/views/issues/edit.js.haml
blob: f08e3217a8923f3a7763eca3589fce66b4af63a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
:plain
  var edit_issue_dialog = $("<div id='edit_issue_dialog'></div>");
  edit_issue_dialog.html("#{escape_javascript(render('form'))}");
  $(edit_issue_dialog).dialog({
    width: 500,
    resizable: false,
    draggable: false,
    title: "Issue ##{@issue.id} #{"[CLOSED]" if @issue.closed}",
    close: function(event, ui) { $("#edit_issue_dialog").remove();},
    modal: true
  });
  $('select#issue_assignee_id').selectmenu({width:300});