mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Using html.dyn instead of inlining document.writes to remove button with javascript.
--HG-- branch : dev
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user