Adding Chrome, Safari and IE9 support

This commit is contained in:
Pablo Luna
2010-11-20 23:43:54 +01:00
parent 2efa40c664
commit 5b997de415
21 changed files with 9030 additions and 8674 deletions

View File

@@ -159,17 +159,16 @@ mindplot.MindmapDesigner.prototype._registerEvents = function()
if (!this._viewMode)
{
// Initialize workspace event listeners.
// Create nodes on double click...
workspace.addEventListener('click', function(event)
screenManager.addEventListener('click', function(event)
{
mindmapDesigner.getEditor().lostFocus();
// @todo: Puaj hack...
mindmapDesigner._cleanScreen();
});
workspace.addEventListener('dblclick', function(event)
screenManager.addEventListener('dblclick', function(event)
{
mindmapDesigner.getEditor().lostFocus();
// Get mouse position