Open Dialog on 'callto'

Discuss about Group-Office development here

Moderator: Developers

Thomas
Posts: 57
Joined: Fri Jul 24, 2009 1:52 pm

Open Dialog on 'callto'

Postby Thomas » Wed Apr 09, 2014 11:15 am

Hello @ all,

in the Addressbook-Panel you can dial a number with click on a link. The Template for this is configured in config.php. Now, i want to open a own dialog while click on this link. i have seen there is an

Code: Select all

<a href>
and an onclick which fires an event called 'callto'.

How can i open a dialog with this link? what i have to give in config.php to make it work?

Thanks for reply in advance

Thomas
mschering
Site Admin
Site Admin
Posts: 8332
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Re: Open Dialog on 'callto'

Postby mschering » Wed Apr 09, 2014 2:08 pm

You can set "javascript:myFunctionToOpenDialog('{phone}');" as template.
Best regards,

Merijn Schering
Intermesh
Thomas
Posts: 57
Joined: Fri Jul 24, 2009 1:52 pm

Re: Open Dialog on 'callto'

Postby Thomas » Tue Apr 15, 2014 10:42 am

Hi,

thanks for reply. I have set it to '#' (no url) and use ur onclick="GO.mainLayout.fireEvent...."

Regards

Thomas

Who is online

Users browsing this forum: No registered users and 1 guest

cron