diff options
author | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2011-10-09 00:36:38 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2011-10-09 00:36:38 +0300 |
commit | e98c77857f9f765d1854b92c2dc33049504a596d (patch) | |
tree | 52fbfc1cdb55df21843965479c97be0c91121a9a /app/views/issues/edit.js.haml | |
parent | 0f43e98ef8c2da8908b1107f75b67cda2572c2c4 (diff) | |
download | gitlab-ce-38d99e9a05aeec3de09c4a7af2d8af8b34ed5084.tar.gz |
init commitv0.9.4
Diffstat (limited to 'app/views/issues/edit.js.haml')
-rw-r--r-- | app/views/issues/edit.js.haml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/issues/edit.js.haml b/app/views/issues/edit.js.haml new file mode 100644 index 00000000000..f08e3217a89 --- /dev/null +++ b/app/views/issues/edit.js.haml @@ -0,0 +1,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}); |