Using html.dyn instead of inlining document.writes to remove button with javascript.

--HG--
branch : dev
This commit is contained in:
Andre Rodrigues
2011-03-02 10:27:49 -08:00
parent 9bf5d06068
commit 072488a651
2 changed files with 1 additions and 8 deletions

View File

@@ -965,6 +965,7 @@ table.items th, table.items td {
.page-size-options select {
margin-top: 10px;
}
html.dyn #submit_pager { display:none; }
.pager { list-style: none; padding: 0; margin: 12px 0 0 0;}
.pager li {
float: left;

View File

@@ -53,15 +53,7 @@
}
</select>
<script type="text/javascript">
document.write("<div style='display:none'>");
</script>
<button id="submit_pager" type="submit">@T("Apply")</button>
<script type="text/javascript">
document.write("<\/div>");
</script>
</div>
}