Skip to content

Commit

Permalink
Yard Server: Fix to include the cucumber stylesheet and javascript in…
Browse files Browse the repository at this point in the history
… menus

 * FIX the menu javascript was refereing to the wrong name causing the menus
   to not open
  • Loading branch information
Franklin Webber committed Nov 25, 2011
1 parent 14b3416 commit 56e7e74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/docserver/default/fulldoc/html/js/cucumber.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
function cucumberSearchFrameLinks() {
$('#features_list_link').click(function() {
$('#feature_list_link').click(function() {
toggleSearchFrame(this, '/' + library + '/features');
});
$('#tags_list_link').click(function() {
$('#tag_list_link').click(function() {
toggleSearchFrame(this, '/' + library + '/tags');
});
}
Expand Down Expand Up @@ -82,4 +82,4 @@ function display_qualifying_features_and_scenarios(tags) {
});
}

}
}
2 changes: 2 additions & 0 deletions lib/docserver/doc_server/full_list/html/full_list.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
<meta name="Content-Type" content="text/html; charset=<%= charset %>" />
<link rel="stylesheet" href="/css/full_list.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="/css/common.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="/css/cucumber.css" type="text/css" media="screen" charset="utf-8" />
<script type="text/javascript" charset="utf-8" src="/js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/full_list.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/cucumber.js"></script>
<base id="base_target" target="_parent" />
</head>
<body>
Expand Down

0 comments on commit 56e7e74

Please sign in to comment.