mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-29 17:27:22 +02:00
parent
92bd248c18
commit
53d613ebec
5 changed files with 27 additions and 18 deletions
|
@ -51,17 +51,20 @@ var LevelDropdownView = ContainedBase.extend({
|
|||
});
|
||||
|
||||
this.render();
|
||||
this.buildSequences();
|
||||
Main.getEvents().on('localeChanged', function() {
|
||||
this.render();
|
||||
this.buildSequences();
|
||||
}, this);
|
||||
|
||||
Main.getEvents().on('resetMapSolved', this.render, this);
|
||||
Main.getEvents().on('localeChanged', this.render, this);
|
||||
|
||||
if (!options.wait) {
|
||||
this.show();
|
||||
}
|
||||
},
|
||||
|
||||
render: function() {
|
||||
LevelDropdownView.__super__.render.apply(this, arguments);
|
||||
this.buildSequences();
|
||||
},
|
||||
|
||||
positive: function() {
|
||||
if (!this.selectedID) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue