2011-10-08 17:36:38 -04:00
|
|
|
- if params[:status_only]
|
|
|
|
- if @issue.valid?
|
|
|
|
:plain
|
|
|
|
$("##{dom_id(@issue)}").fadeOut();
|
2011-10-26 09:46:25 -04:00
|
|
|
- else
|
2011-10-08 17:36:38 -04:00
|
|
|
- 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});
|