Skip to content

Commit

Permalink
JQuery javascript fix (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
dqwiki authored Feb 6, 2017
1 parent bad994f commit 7746efc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion public_html/appeal.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
$(document).ready(function() {
if ($(\"#adminhold\")) {
$(\"#adminhold\").click(function() {
varMessage = prompt(\"Please write a short message to be posted on-wiki for the blocking admin:\")
varMessage = prompt(\"Please write a short message to be posted on-wiki for the blocking admin:\");
window.location = '?id=" . $_GET['id'] . "&action=status&value=adminhold&adminmessage=' + varMessage;
})
}
Expand Down
6 changes: 3 additions & 3 deletions public_html/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ function skinHeader($script = '', $adminNav = false) {
<meta http-equiv="Content-Type" content="text/html; charset=Cp1252">
<link rel="stylesheet" href="unblock_styles.css?<?php /* Forces browsers to re-fetch the stylesheet when it changes */ echo sha1(file_get_contents('unblock_styles.css')) ?>">
<title>Unblock Ticket Request System - Register an Account</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>

<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.js" type="text/javascript"></script>
<?php if($script){
echo "<script type=\"text/javascript\">" . $script . "</script>";
}
?>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>

<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.js" type="text/javascript"></script>
<style>
#sortable { list-style-type: none; margin: 0; padding: 0; width: 60%; }
#sortable li { margin: 0 3px 3px 3px; padding: 0.4em; padding-left: 1.5em; font-size: 1.4em; height: 18px; }
Expand Down

0 comments on commit 7746efc

Please sign in to comment.