back: clear controller before Activity.back to avoid recursion
This commit is contained in:
1 parent
ea70698d5d
commit
4e0446bf4e
1 file changed
+4
@@ -222,6 +222,10 @@
|
||||
Lampa.Controller.collectionSet($('.mymovies-detail .detail-actions'));
|
||||
Lampa.Controller.collectionFocus(btns[0], $('.mymovies-detail .detail-actions'));
|
||||
},
|
||||
back: function () {
|
||||
Lampa.Controller.clear('mymovies_detail');
|
||||
Lampa.Activity.back();
|
||||
},
|
||||
right: function () { Navigator.move('right'); },
|
||||
left: function () { Navigator.move('left'); },
|
||||
enter: function () {
|
||||
|
||||
Reference in new issue
Block a user