use triple equal signs according to style guide
Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
This commit is contained in:
parent
2fa36a768f
commit
2cebdbbf2d
|
@ -298,7 +298,7 @@ var OCdialogs = {
|
||||||
try {
|
try {
|
||||||
if (!Files.isFileNameValid(filename)) {
|
if (!Files.isFileNameValid(filename)) {
|
||||||
// Files.isFileNameValid(filename) throws an exception itself
|
// Files.isFileNameValid(filename) throws an exception itself
|
||||||
} else if (self.filelist.find(function(file){return file.name == this;},filename)) {
|
} else if (self.filelist.find(function(file){return file.name === this;},filename)) {
|
||||||
throw t('files', '{newName} already exists', {newName: filename}, undefined, {
|
throw t('files', '{newName} already exists', {newName: filename}, undefined, {
|
||||||
escape: false
|
escape: false
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue