Fix bug when path contains {, }

This commit is contained in:
Buu Nguyen 2014-06-09 10:44:19 -07:00
parent e17746a56d
commit 8aa8bd0500
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@
*/
plugins : {},
path : src && src.indexOf('/') !== -1 ? src.replace(/\/[^\/]+$/,'') : '',
idregex : /[\\:&!^|()\[\]<>@*'+~#";.,=\- \/$]/g
idregex : /[\\:&!^|()\[\]<>@*'+~#";.,=\- \/$\{\}]/g
};
/**
* creates a jstree instance