]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove debug output
authorArthur Schiwon <blizzz@owncloud.com>
Fri, 23 Nov 2012 11:18:38 +0000 (12:18 +0100)
committerArthur Schiwon <blizzz@owncloud.com>
Mon, 26 Nov 2012 13:35:02 +0000 (14:35 +0100)
core/js/eventsource.js

index 844c327e12d6da220364ea9da993c9ed8f99d2d5..0c2a995f33103f16c32d69f6ab5b8e050aaf28d0 100644 (file)
@@ -46,8 +46,6 @@ OC.EventSource=function(src,data){
                if(src.indexOf('?') == -1) {
                        joinChar = '?';
                }
-               alert(src.indexOf('?'));
-               alert(joinChar);
                this.source=new EventSource(src+joinChar+dataStr);
                this.source.onmessage=function(e){
                        for(var i=0;i<this.typelessListeners.length;i++){
@@ -65,7 +63,6 @@ OC.EventSource=function(src,data){
                if(src.indexOf('?') == -1) {
                        joinChar = '?';
                }
-               alert(src.indexOf('?'));
                this.iframe.attr('src',src+joinChar+'fallback=true&fallback_id='+OC.EventSource.iframeCount+'&'+dataStr);
                $('body').append(this.iframe);
                this.useFallBack=true;