| Author |
Message |
OliD
Newbie
Joined: 20 Jan 2010
Posts: 1
|
Posted:
Wed Jan 20, 2010 13:42 |
  |
Hi all,
a customer of mine wants to open a GroupChat via Java Script. Is this possible? If yes, does this work in all browsers? If not, how can I implement this myself?
Thanks!
Oliver Denzel |
|
|
  |
 |
eric
Site Admin
Joined: 15 Sep 2004
Posts: 696
|
Posted:
Sun Jan 24, 2010 11:32 |
  |
The applet can not do that right now
If you want to add it you need to modify the source code
in package nu.fw.jeti.applet you need to add a method to start the groupchat,
just copy openChat to openGroupChat
and in the secureMethod runner run method
add after
if(m.equals("openChat")) backend.getMain().startChat((JID)method[1]);
else if (m.equals("openChat")) LoadGroupChat.startGroupchat((JID)method[1],backend);
Then you should be able to open a groupchat with javascript just as with openchat. I guess it works with all browsers, but it might have changed so I'm not sure |
|
|
   |
 |
|
|
|
View next topic
View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB
© 2001, 2002 phpBB Group :: Theme by Daz ::
All times are GMT + 1 Hour
|