diff options
| author | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-11-22 02:57:22 +0100 |
|---|---|---|
| committer | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-12-03 22:51:56 +0100 |
| commit | c4a7824a8c6487b24379f7f85c26f182bbc1dee9 (patch) | |
| tree | c23fdbf95bbcd8b3a46e2eaae6021e62a0bc3ff3 /app/views/notes | |
| parent | 140652e9b019addaf7022e18b6816ecb36eee80c (diff) | |
| download | gitlab-ce-c4a7824a8c6487b24379f7f85c26f182bbc1dee9.tar.gz | |
Fix wall notes
Diffstat (limited to 'app/views/notes')
| -rw-r--r-- | app/views/notes/_create_common_note.js.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/notes/_create_common_note.js.haml b/app/views/notes/_create_common_note.js.haml index 57c768b8088..20bc07568a0 100644 --- a/app/views/notes/_create_common_note.js.haml +++ b/app/views/notes/_create_common_note.js.haml @@ -1,4 +1,7 @@ - if note.valid? + - if note.for_wall? + NoteList.appendNewWallNote(#{note.id}, "#{escape_javascript(render "notes/note", note: note)}"); + - else NoteList.appendNewNote(#{note.id}, "#{escape_javascript(render "notes/note", note: note)}"); - else |
