mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
all links are automatically handled through backbone router.
no more page reload.
This commit is contained in:
parent
5ea794939c
commit
50918ae65f
6 changed files with 55 additions and 41 deletions
|
@ -1,5 +1,5 @@
|
|||
"use strict";
|
||||
require(['app', 'Controller'], function (app, controller) {
|
||||
require(['app', 'Controller', 'RouteBinder'], function (app, controller, routeBinder) {
|
||||
|
||||
NzbDrone.Router = Backbone.Marionette.AppRouter.extend({
|
||||
|
||||
|
@ -27,6 +27,7 @@ require(['app', 'Controller'], function (app, controller) {
|
|||
NzbDrone.Router = new NzbDrone.Router();
|
||||
Backbone.history.start({ pushState: true });
|
||||
|
||||
routeBinder.bind();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue