Browse code

Zobrazovanie pisatka v chatovacom okne

Cinan Rakosnik authored on 31/03/2013 at 19:40:01
Showing 2 changed files
... ...
@@ -1,2 +1,4 @@
1 1
 .conversation.clear.border
2
-  #{@date}
3 2
\ No newline at end of file
3
+  #{@date}
4
+  -if @showWriter
5
+    != JST['backbone/templates/chat/message_writer']()
4 6
\ No newline at end of file
... ...
@@ -10,7 +10,7 @@ class Xmpp.Views.Chat.WindowView extends Backbone.View
10 10
     @date = new Date() #pre testovacie ucely
11 11
 
12 12
   render: ->
13
-    $(@el).html(@template(date: @date.getTime()))
13
+    $(@el).html(@template(date: @date.getTime(), showWriter: true))
14 14
     @show()
15 15
     return this
16 16