Fix bug when path contains {, }
This commit is contained in:
parent
e17746a56d
commit
8aa8bd0500
|
@ -85,7 +85,7 @@
|
|||
*/
|
||||
plugins : {},
|
||||
path : src && src.indexOf('/') !== -1 ? src.replace(/\/[^\/]+$/,'') : '',
|
||||
idregex : /[\\:&!^|()\[\]<>@*'+~#";.,=\- \/$]/g
|
||||
idregex : /[\\:&!^|()\[\]<>@*'+~#";.,=\- \/$\{\}]/g
|
||||
};
|
||||
/**
|
||||
* creates a jstree instance
|
||||
|
|
Loading…
Reference in New Issue