Clear profile (creates new file on next upload)
This commit is contained in:
parent
3c0765547c
commit
858b68f91e
4 changed files with 16 additions and 3 deletions
|
|
@ -44,8 +44,8 @@ BR.RoutingOptions = BR.Control.extend({
|
|||
select = L.DomUtil.get('profile');
|
||||
option = select.options[0]
|
||||
option.value = profile;
|
||||
select.value = profile;
|
||||
option.disabled = false;
|
||||
option.disabled = !profile;
|
||||
option.selected = !!profile;
|
||||
|
||||
if (!noUpdate) {
|
||||
this.fire('update', {options: this.getOptions()});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue