Paired-With: Randall Hansen
Signed-off-by: Pieter van de Bruggen <[email protected]>
---
Local-branch: tickets/next/6989
app/views/reports/_report.html.haml | 5 -----
public/javascripts/application.js | 3 +++
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/app/views/reports/_report.html.haml
b/app/views/reports/_report.html.haml
index 6a50e9f..e51286e 100644
--- a/app/views/reports/_report.html.haml
+++ b/app/views/reports/_report.html.haml
@@ -16,8 +16,3 @@
- Registry.each_callback :core, :report_view_widgets do |widget|
%div(id="#{widget.name}")
= widget.call self, report
- :javascript
- jQuery(function() {
- jQuery('#report-tabs li:first').addClass("active");
- jQuery('#report-tabs').tabify();
- });
diff --git a/public/javascripts/application.js
b/public/javascripts/application.js
index c3cd037..1f69daf 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -103,6 +103,9 @@ jQuery(document).ready(function(J) {
J(this).hide();
});
init_expandable_list();
+
+ J('.reports_show_action #report-tabs li:first').addClass("active");
+ J('.reports_show_action #report-tabs').tabify();
});
function init_expandable_list() {
--
1.7.4.1
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en.