Skip to content
This repository has been archived by the owner on Sep 25, 2021. It is now read-only.

Illegal Characters #23

Open
D-mata opened this issue Feb 8, 2018 · 0 comments
Open

Illegal Characters #23

D-mata opened this issue Feb 8, 2018 · 0 comments

Comments

@D-mata
Copy link

D-mata commented Feb 8, 2018

When uploading files the editor breaks on file names with ")". This maybe the solution.

this.dropzone.on("addedfile", function(file){
		if(file.name.indexOf("(") > 0 || file.name.indexOf(")") > 0){
			alert('File Contains illegal Characters');
			this.removeFile(file);
		}
	});
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant