2017-02-13 15:05:30 -08:00
|
|
|
import Ember from 'ember';
|
2017-03-24 21:35:35 -07:00
|
|
|
import ApplicationRouteMixin
|
|
|
|
from 'ember-simple-auth/mixins/application-route-mixin';
|
2017-02-13 15:05:30 -08:00
|
|
|
|
2017-03-24 21:35:35 -07:00
|
|
|
const {
|
|
|
|
Route,
|
|
|
|
run
|
|
|
|
} = Ember;
|
|
|
|
|
|
|
|
export default Route.extend(ApplicationRouteMixin, {
|
2017-02-13 15:05:30 -08:00
|
|
|
init() {
|
|
|
|
this._super(...arguments);
|
2017-03-24 21:35:35 -07:00
|
|
|
run.scheduleOnce('afterRender', this, 'processLegacyDomOperations');
|
2017-02-13 15:05:30 -08:00
|
|
|
},
|
|
|
|
|
|
|
|
processLegacyDomOperations() {
|
|
|
|
window.legacySearch();
|
2017-03-24 21:35:35 -07:00
|
|
|
// TODO: DSS-6122 Refactor Remove tree legacy operations & references
|
2017-02-13 15:05:30 -08:00
|
|
|
// window.legacyTree();
|
|
|
|
window.legacyMain();
|
|
|
|
}
|
2017-03-24 21:35:35 -07:00
|
|
|
});
|