svn: /web/doc-editor/trunk/js/ui/cmp/ Chat.js

[email protected] (Philip Olson)
Newsgroups php.doc.web
Message-ID <[email protected]>
philip                                   Sat, 18 Jun 2011 13:12:39 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=312255

Log:
Shorten default handle length, the limit appears to be 9. Example: poe_an424

Changed paths:
    U   web/doc-editor/trunk/js/ui/cmp/Chat.js

Modified: web/doc-editor/trunk/js/ui/cmp/Chat.js
===================================================================
--- web/doc-editor/trunk/js/ui/cmp/Chat.js	2011-06-18 13:09:14 UTC (rev 312254)
+++ web/doc-editor/trunk/js/ui/cmp/Chat.js	2011-06-18 13:12:39 UTC (rev 312255)
@@ -17,7 +17,7 @@
         var chatLogin = PhDOE.user.login;

         if( PhDOE.user.isAnonymous ) {
-            chatLogin = 'anonymous_%3F%3F%3F';
+            chatLogin = 'an%3F%3F%3F';
         }

         Ext.apply(this,
@@ -25,7 +25,7 @@
             title : _('Chat with us on IRC !'),
             items : [new Ext.ux.IFrameComponent({
                 id: 'frame-win-chat',
-                url: 'http://widget.mibbit.com/?settings=8eec4034df2eb666b0600bdfe151529a&server=irc.umich.edu&channel=%23php.doc&nick=phdoe_'+ chatLogin
+                url: 'http://widget.mibbit.com/?settings=8eec4034df2eb666b0600bdfe151529a&server=irc.umich.edu&channel=%23php.doc&nick=poe_'+ chatLogin
             })]
         });
         ui.cmp.Chat.superclass.initComponent.call(this);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.