Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: Jack! on October 18, 2010, 10:03:25 AM

Title: Conflict between contexmenu and compose_newwindow plugin
Post by: Jack! on October 18, 2010, 10:03:25 AM
I do have a conflict between the contextmenu plugin (v1.6, JohnDoh) and the compose_newwindow plugin (trunk-r-4098, Rosali). As soon as I open an existing message from the inbox or as soon as I've composed a new mail, the RC contextmenu has reverted back to the default browser right click menu if you right click on an item in the inbox. If I hit a menu item (in upper right corner, such as E-Mail or Settings) the RC contextmenu is back again.
As a workaround I've removed
* line 85: "rcmail.command('list','',this)",
and
* line 92:  "self.close()",

from file compose_newwindow.php. Now everything works fine and as expected again. Anyone else with the same problem? Other solutions?

Configuration: Windows 2008 R2 - IIS - hMailServer - Roundcube v0.4.2 stable
// List of active plugins (in plugins/ directory)
$rcmail_config['plugins'] = array(
'jqueryui',
'contextmenu',
'calendar',
'compose_addressbook',
'compose_newwindow',
'emoticons',
'globaladdressbook',
'markasjunk',
'message_highlight',
'sticky_notes',
'zipdownload',
);

Kind regards,
Jack
Title: Conflict between contexmenu and compose_newwindow plugin
Post by: rosali on October 18, 2010, 10:31:47 AM
I will apply your fix.