Displaying 1 result from an estimated 1 matches for "load_graph".
2009 Sep 08
1
[PATCH server] fix live migration
...l | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/app/views/host/_grid.rhtml b/src/app/views/host/_grid.rhtml
index 663a55d..698dc95 100644
--- a/src/app/views/host/_grid.rhtml
+++ b/src/app/views/host/_grid.rhtml
@@ -1,7 +1,7 @@
<%= render :partial => 'graph/load_graph.rhtml' %>
<% pool_controller = 'hardware' unless (defined? pool_controller) and !(pool_controller.nil?) %>
-<% hosts_per_page.nil? ? hosts_per_page = 40: hosts_per_page = hosts_per_page %>
+<% hosts_per_page = 40 if !defined?(hosts_per_page) or hosts_per_page.nil? %...