Fix an error upon editing profile with a route set
This commit is contained in:
parent
43ac9db50c
commit
a77413e1eb
1 changed files with 1 additions and 1 deletions
|
|
@ -40,8 +40,8 @@ BR.Profile = L.Evented.extend({
|
||||||
empty = !this.editor.getValue(),
|
empty = !this.editor.getValue(),
|
||||||
clean = this.editor.isClean();
|
clean = this.editor.isClean();
|
||||||
|
|
||||||
this.profileName = profileName;
|
|
||||||
if (profileName && BR.conf.profilesUrl && (empty || clean)) {
|
if (profileName && BR.conf.profilesUrl && (empty || clean)) {
|
||||||
|
this.profileName = profileName;
|
||||||
if (!(profileName in this.cache)) {
|
if (!(profileName in this.cache)) {
|
||||||
profileUrl = BR.conf.profilesUrl + profileName + '.brf';
|
profileUrl = BR.conf.profilesUrl + profileName + '.brf';
|
||||||
BR.Util.get(
|
BR.Util.get(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue