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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2011-10-09 01:36:38 +0400
committerDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2011-10-09 01:36:38 +0400
commite98c77857f9f765d1854b92c2dc33049504a596d (patch)
tree52fbfc1cdb55df21843965479c97be0c91121a9a /app/views/issues/update.js.haml
parent0f43e98ef8c2da8908b1107f75b67cda2572c2c4 (diff)
init commitv0.9.4
Diffstat (limited to 'app/views/issues/update.js.haml')
-rw-r--r--app/views/issues/update.js.haml14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/issues/update.js.haml b/app/views/issues/update.js.haml
new file mode 100644
index 00000000000..c365c3f5d55
--- /dev/null
+++ b/app/views/issues/update.js.haml
@@ -0,0 +1,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});