Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 525696 - Type error trying to import a file - prevent js client e…
…rror
  • Loading branch information
mrennie committed Oct 12, 2017
1 parent 210db1b commit 7386dae
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -437,7 +437,9 @@ define([
return true;
}
var folderPath = this.getProjectPath()+this.DEFINITIONS;
return qualifiedName === folderPath || qualifiedName.indexOf(folderPath) === 0;
//check for valid names from events
//see https://bugs.eclipse.org/bugs/show_bug.cgi?id=525696
return qualifiedName === folderPath || (qualifiedName && qualifiedName.indexOf(folderPath) === 0);
};

/**
Expand Down

0 comments on commit 7386dae

Please sign in to comment.