--- a/cms/app-client/app/controllers/application.js Sat Nov 12 17:21:25 2016 +0100
+++ b/cms/app-client/app/controllers/application.js Mon Nov 14 15:02:15 2016 +0100
@@ -8,6 +8,7 @@
constants: Ember.inject.service(),
isLoading: false,
+ currentUrl: '',
page: 1,
limit: Ember.computed(function() {
@@ -76,6 +77,12 @@
}
}),
+ targetUrlChanged: Ember.observer('target.url', function() {
+ Ember.run.next(this, function() {
+ this.set('currentUrl', window.location.href);
+ });
+ }),
+
init: function() {
this._super(...arguments);
this.get('player');