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

@@ -174,7 +174,7 @@ mindplot.TextEditor.prototype.listenEventOnNode = function(topic, eventName, sto
if (stopPropagation)
{
if (event.stopPropagation)
if (core.Utils.isDefined(event.stopPropagation))
{
event.stopPropagation(true);
} else
@@ -390,7 +390,7 @@ mindplot.TextEditor.prototype.lostFocus = function(bothBrowsers)
mindplot.TextEditor.prototype.clickEvent = function(event){
if(this._isVisible()){
if (event.stopPropagation)
if (core.Utils.isDefined(event.stopPropagation))
{
event.stopPropagation(true);
} else
@@ -403,7 +403,7 @@ mindplot.TextEditor.prototype.clickEvent = function(event){
mindplot.TextEditor.prototype.mouseDownEvent = function(event){
if(this._isVisible()){
if (event.stopPropagation)
if (core.Utils.isDefined(event.stopPropagation))
{
event.stopPropagation(true);
} else