Page MenuHomePhorge

Expose an iframe API for Roundcube to communicate with the Manticore editor UI
Closed, ResolvedPublic

Description

For controlling a session when the iframe is open, it may be necessary to provide hooks into Manticore's UI that Roundcube can use.

For this, I shall expose an API that uses postMessage for cross-window event handling.

An example use case would be an "Invite" button drawn by Manticore, which works thusly:

  1. For standalone Manticore, the Invite button would pop up a dialog listing possible collaborators sourced from Mongo.
  2. For the Kolab-Manticore combination, clicking the Invite button would fire an event inviteButtonClicked, that Roundcube can listen to and consequently display an invitation dialog populated with Kolab users.

Details

Ticket Type
Task

Event Timeline

Adityab claimed this task.
Adityab raised the priority of this task from to 60.
Adityab updated the task description. (Show Details)
Adityab added a project: Restricted Project.
Adityab changed Ticket Type from Task to Task.
Adityab moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Adityab added subscribers: Adityab, petersen, machniak, vanmeeuwen.
Adityab moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Oct 29 2015, 5:54 PM
Adityab moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.