Merge pull request #17 from silicakes/master
First pull request, minor fix
This commit is contained in:
commit
fb871d3040
@ -135,7 +135,7 @@ define(['jquery',
|
|||||||
};
|
};
|
||||||
|
|
||||||
this.restartLesson = function() {
|
this.restartLesson = function() {
|
||||||
self=this;
|
var self=this;
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url:'service/restartlesson.mvc',
|
url:'service/restartlesson.mvc',
|
||||||
method:'GET'
|
method:'GET'
|
||||||
|
@ -43,7 +43,7 @@ define(['jquery',
|
|||||||
});
|
});
|
||||||
|
|
||||||
Backbone.history.start();
|
Backbone.history.start();
|
||||||
this.listenTo('menu:reload',this.reloadMenu)
|
this.listenTo(this.menuController, 'menu:reload',this.reloadMenu)
|
||||||
},
|
},
|
||||||
|
|
||||||
reloadMenu: function (curLesson) {
|
reloadMenu: function (curLesson) {
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user