public static void openChatRoom(String userName, String password, final String roomJid ) {
if(JabberApp.instance().connected())
{
RoomChatWindow.openRoom(XmppID.parseId(roomJid), JabberApp.instance().getNick());
}
else
{
JabberApp.instance().run(userName,password,true,new LoginListener()
{
public void onLogined()
{
RoomChatWindow.openRoom(XmppID.parseId(roomJid), JabberApp.instance().getNick()); }
});
}
}
and here is my API
function openMULNChatRoom(user,pass,room)
{
wait_for_script_load( 'openChatRoom');
return false;
}
I am able to openroom only when I click it twice
I was just seeing firebug on hwat what is happening I see the following is getting posted and it is waiting waiting continously..
Can someonehelp me out this.
Regards
Uday
--
"Obstacles are what you see when you take your eyes off the goal"