this.addObserver(this, 'data', this.dataChanged.bind(this));
},
- load: function() {
- if (this.get('state') == 'empty') {
+ load: function(force) {
+ if (force || this.get('state') == 'empty') {
this.set('state', 'loading');
$.ajax({
url: this.serverURL,
this.serverURL = serverURL;
},
- load: function() {
- if (this.get('state') == 'empty') {
+ load: function(force) {
+ if (force || this.get('state') == 'empty') {
this.set('state', 'loading');
$.ajax({
url: this.serverURL,
this.pages = [];
},
- load: function() {
- if (this.get('state') == 'empty') {
+ load: function(force) {
+ if (force || this.get('state') == 'empty') {
this.set('state', 'loading');
$.ajax({
url: this.serverURL,