Permalink
Browse files

fixettes

  • Loading branch information...
1 parent b8d3cb2 commit 12deb6adb6a54c51306ffd9ee0ee05a7ddefd0c5 @smaldini smaldini committed Aug 2, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 grails-app/conf/Config.groovy
  2. +1 −1 grails-app/views/todos/index.gsp
@@ -94,6 +94,7 @@ log4j = {
info 'grails.app'
info 'org.grails.plugin.platform.events'
info 'org.springframework.amqp'
+ //trace 'org.atmosphere.cpr'
debug 'grails.plugin.cloudfoundry.Scripts'
@@ -10,7 +10,7 @@
</r:script>
<r:script>
$(function(){
- window.grailsEvents = new grails.Events('${createLink(uri: '')}', null, {transport:'long-polling'});
+ window.grailsEvents = new grails.Events('${createLink(uri: '')}', null, {transport:'streaming'});
grailsEvents.on("afterInsert", function(data){
var model = Todos.get(data.id);

0 comments on commit 12deb6a

Please sign in to comment.