Title: [179686] trunk/Websites/perf.webkit.org
Revision
179686
Author
[email protected]
Date
2015-02-05 01:54:49 -0800 (Thu, 05 Feb 2015)

Log Message

Unreviewed build fix.

* public/v2/app.js:
(App.IndexController.gridChanged): Use store.createRecord to create a custom dashboard as required by Ember.js

Modified Paths

Diff

Modified: trunk/Websites/perf.webkit.org/ChangeLog (179685 => 179686)


--- trunk/Websites/perf.webkit.org/ChangeLog	2015-02-05 09:25:50 UTC (rev 179685)
+++ trunk/Websites/perf.webkit.org/ChangeLog	2015-02-05 09:54:49 UTC (rev 179686)
@@ -1,3 +1,10 @@
+2015-02-05  Ryosuke Niwa  <[email protected]>
+
+        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  <[email protected]>
 
         New perf dashboard doesn't preserve the number of days when clicking on a dashboard chart

Modified: trunk/Websites/perf.webkit.org/public/v2/app.js (179685 => 179686)


--- trunk/Websites/perf.webkit.org/public/v2/app.js	2015-02-05 09:25:50 UTC (rev 179685)
+++ trunk/Websites/perf.webkit.org/public/v2/app.js	2015-02-05 09:54:49 UTC (rev 179686)
@@ -70,7 +70,7 @@
 
         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;
         }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to