Skip to content
Browse files

show user message on no data fixes 750816

  • Loading branch information...
1 parent 80c2147 commit ff472edabb094a90b4db5d38355792577019035b @schalkneethling schalkneethling committed May 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 webapp-php/js/socorro/crash_trends.js
View
2 webapp-php/js/socorro/crash_trends.js
@@ -99,7 +99,7 @@ $(function() {
// remove the loading animation
$("#loading").remove();
- if(data.nightlyCrashes.length > 0) {
+ if(data.nightlyCrashes) {
graph = $.plot("#nightly_crash_trends_graph", data.nightlyCrashes, options);
//emty the ul before appending the new dates
$("#dates").empty();

0 comments on commit ff472ed

Please sign in to comment.
Something went wrong with that request. Please try again.