* public/v2/app.js:
(App.IndexController.gridChanged): Use store.createRecord to create a custom dashboard as required by Ember.js
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179686
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2015-02-05 Ryosuke Niwa <rniwa@webkit.org>
+
+ Unreviewed build fix.
+
+ * public/v2/app.js:
+ (App.IndexController.gridChanged): Use store.createRecord to create a custom dashboard as required by Ember.js
+
2015-02-04 Ryosuke Niwa <rniwa@webkit.org>
New perf dashboard doesn't preserve the number of days when clicking on a dashboard chart
var dashboard = null;
if (grid) {
- dashboard = App.Dashboard.create({serialized: grid});
+ dashboard = this.store.createRecord('dashboard', {serialized: grid});
if (!dashboard.get('headerColumns').length)
dashboard = null;
}