Fix wall notes
This commit is contained in:
parent
140652e9b0
commit
c4a7824a8c
5 changed files with 29 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue