Flashログのヘッダがajaxになっていたバグを修正
| @@ -628,6 +628,7 @@ | ||
| 628 | 628 | if( conn_type == 'ajax' ){ |
| 629 | 629 | self.conn = new QI2Ajax(); |
| 630 | 630 | self.conn.logger = function(str ){ if( self.config_form.showLowLevelLog.checked) self.say("Ajax>"+str); }; |
| 631 | + self.conn.sendlog = function(line){ if( self.config_form.showRawLog .checked) self.say("C>" +line); }; | |
| 631 | 632 | // サーバ設定を追加 |
| 632 | 633 | self.addServer = function( name,serverurl,checked){ |
| 633 | 634 | var select = self.config_form.serverlist; |
| @@ -672,7 +673,6 @@ | ||
| 672 | 673 | } |
| 673 | 674 | self.conn.start(serverurl,self.config_form.proxy_password.value); |
| 674 | 675 | }; |
| 675 | - self.conn.sendlog = function(line){ if( self.config_form.showRawLog .checked) self.say("C>" +line); }; | |
| 676 | 676 | self.conn.on_event = function(type,extra){ |
| 677 | 677 | try{ |
| 678 | 678 | switch(type){ |
| @@ -722,6 +722,8 @@ | ||
| 722 | 722 | }; |
| 723 | 723 | }else{ // direct |
| 724 | 724 | self.conn = new QI2Flash(); |
| 725 | + self.conn.logger = function(str ){ if( self.config_form.showLowLevelLog.checked) self.say("Flash>"+str); }; | |
| 726 | + self.conn.sendlog = function(line){ if( self.config_form.showRawLog .checked) self.say("C>" +line); }; | |
| 725 | 727 | // サーバ設定を追加 |
| 726 | 728 | self.addServer = function(name,server,port,crossdomain_url,checked){ |
| 727 | 729 | var select = self.config_form.serverlist; |
| @@ -775,8 +777,6 @@ | ||
| 775 | 777 | } |
| 776 | 778 | self.conn.start(self.conn_charset,serverhost,serverport,crossdomainurl); |
| 777 | 779 | }; |
| 778 | - self.conn.logger = function(str ){ if( self.config_form.showLowLevelLog.checked) self.say("Ajax>"+str); }; | |
| 779 | - self.conn.sendlog = function(line){ if( self.config_form.showRawLog .checked) self.say("C>" +line); }; | |
| 780 | 780 | self.conn.on_event = function(type,extra){ |
| 781 | 781 | try{ |
| 782 | 782 | switch(type){ |
| @@ -9113,6 +9113,7 @@ | ||
| 9113 | 9113 | if( conn_type == 'ajax' ){ |
| 9114 | 9114 | self.conn = new QI2Ajax(); |
| 9115 | 9115 | self.conn.logger = function(str ){ if( self.config_form.showLowLevelLog.checked) self.say("Ajax>"+str); }; |
| 9116 | + self.conn.sendlog = function(line){ if( self.config_form.showRawLog .checked) self.say("C>" +line); }; | |
| 9116 | 9117 | // サーバ設定を追加 |
| 9117 | 9118 | self.addServer = function( name,serverurl,checked){ |
| 9118 | 9119 | var select = self.config_form.serverlist; |
| @@ -9157,7 +9158,6 @@ | ||
| 9157 | 9158 | } |
| 9158 | 9159 | self.conn.start(serverurl,self.config_form.proxy_password.value); |
| 9159 | 9160 | }; |
| 9160 | - self.conn.sendlog = function(line){ if( self.config_form.showRawLog .checked) self.say("C>" +line); }; | |
| 9161 | 9161 | self.conn.on_event = function(type,extra){ |
| 9162 | 9162 | try{ |
| 9163 | 9163 | switch(type){ |
| @@ -9207,6 +9207,8 @@ | ||
| 9207 | 9207 | }; |
| 9208 | 9208 | }else{ // direct |
| 9209 | 9209 | self.conn = new QI2Flash(); |
| 9210 | + self.conn.logger = function(str ){ if( self.config_form.showLowLevelLog.checked) self.say("Flash>"+str); }; | |
| 9211 | + self.conn.sendlog = function(line){ if( self.config_form.showRawLog .checked) self.say("C>" +line); }; | |
| 9210 | 9212 | // サーバ設定を追加 |
| 9211 | 9213 | self.addServer = function(name,server,port,crossdomain_url,checked){ |
| 9212 | 9214 | var select = self.config_form.serverlist; |
| @@ -9260,8 +9262,6 @@ | ||
| 9260 | 9262 | } |
| 9261 | 9263 | self.conn.start(self.conn_charset,serverhost,serverport,crossdomainurl); |
| 9262 | 9264 | }; |
| 9263 | - self.conn.logger = function(str ){ if( self.config_form.showLowLevelLog.checked) self.say("Ajax>"+str); }; | |
| 9264 | - self.conn.sendlog = function(line){ if( self.config_form.showRawLog .checked) self.say("C>" +line); }; | |
| 9265 | 9265 | self.conn.on_event = function(type,extra){ |
| 9266 | 9266 | try{ |
| 9267 | 9267 | switch(type){ |