fixing bugs

This commit is contained in:
Pablo Luna
2011-04-16 21:41:06 +01:00
parent 60ab4c7f5d
commit f73737ed0b
49 changed files with 214 additions and 186 deletions

View File

@@ -156,7 +156,7 @@ mindplot.IconGroup.prototype.moveToFront = function() {
mindplot.IconGroup.prototype.registerListeners = function() {
this.options.nativeElem.addEventListener('click', function(event) {
// Avoid node creation ...
if (event.stopPropagation)
if (core.Utils.isDefined(event.stopPropagation))
{
event.stopPropagation(true);
} else
@@ -168,7 +168,7 @@ mindplot.IconGroup.prototype.registerListeners = function() {
this.options.nativeElem.addEventListener('dblclick', function(event)
{
// Avoid node creation ...
if (event.stopPropagation)
if (core.Utils.isDefined(event.stopPropagation))
{
event.stopPropagation(true);
} else