Skip to content

Commit

Permalink
SAK-28526 Prepended 'container' with 'sitestats-'
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianfish committed Jan 27, 2015
1 parent 126f10a commit 8444144
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public void renderHead(HtmlHeaderContainer container) {
container.getHeaderResponse().renderJavascriptReference(StatsManager.SITESTATS_WEBAPP+"/html/components/jqueryFileTree/jqueryFileTree.js");
container.getHeaderResponse().renderCSSReference(StatsManager.SITESTATS_WEBAPP+"/html/components/jqueryFileTree/jqueryFileTree.css");
StringBuilder onDomReady = new StringBuilder();
onDomReady.append("jQuery('#containerInner').fileTree(");
onDomReady.append("jQuery('#sitestats-containerInner').fileTree(");
onDomReady.append(" {root: '");
onDomReady.append(BASE_DIR);
onDomReady.append("', script: '");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<wicket:head>
<wicket:link>
<style type="text/css">
#container {
#sitestats-container {
background-color: white;
border: 1px solid #888888;
width: 290px;
Expand All @@ -32,7 +32,7 @@
display: block;
margin: 0.1em 0.3em;
}
#containerInner {
#sitestats-containerInner {
margin-left: -17px;
}
.containerHover{
Expand All @@ -53,7 +53,7 @@
<![endif]-->
<script type="text/javascript">
function updateFieldWithSelectedFiles(fieldId) {
var files = jQuery('#container input[type=checkbox]:checked');
var files = jQuery('#sitestats-container input[type=checkbox]:checked');
var selection;
var first = true;
for(var i=0; i<files.size(); i++) {
Expand All @@ -73,11 +73,11 @@
<wicket:body>
<wicket:panel>
<div wicket:id="containerHover" class="containerHover" style="display:none"></div>
<div id="container">
<div id="containerInner"></div>
<div id="sitestats-container">
<div id="sitestats-containerInner"></div>
</div>
<input class="selectedFiles" wicket:id="selectedFiles" type="hidden"/>
</wicket:panel>
</wicket:body>
</html>


0 comments on commit 8444144

Please sign in to comment.