FIX: prevents exception when loading old dashboard (#6196)
This commit is contained in:
parent
3159c46613
commit
a8f1b07686
|
@ -11,7 +11,7 @@ AdminDashboard.reopenClass({
|
|||
@return {jqXHR} a jQuery Promise object
|
||||
**/
|
||||
find: function() {
|
||||
return ajax("/admin/dashboard.json").then(function(json) {
|
||||
return ajax("/admin/dashboard-old.json").then(function(json) {
|
||||
var model = AdminDashboard.create(json);
|
||||
model.set("loaded", true);
|
||||
return model;
|
||||
|
|
Loading…
Reference in New Issue