Skip to content

Commit

Permalink
PXP-7597 Fix outdated jQuery (#882)
Browse files Browse the repository at this point in the history
* remove things

* update jquery

* chore: update script

* fix: use google hosted libs
  • Loading branch information
mfshao authored Mar 12, 2021
1 parent 88dfdf7 commit c8a3786
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
10 changes: 1 addition & 9 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"files": "poetry.lock",
"lines": null
},
"generated_at": "2021-02-19T16:52:13Z",
"generated_at": "2021-03-12T14:58:46Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
Expand Down Expand Up @@ -58,14 +58,6 @@
}
],
"results": {
"bin/fence-create": [
{
"hashed_secret": "07cb451426a70236a0047e0f390f2bd1d79fd6d3",
"is_verified": false,
"line_number": 515,
"type": "Secret Keyword"
}
],
"fence/blueprints/storage_creds/google.py": [
{
"hashed_secret": "1348b145fa1a555461c1b790a2f66614781091e9",
Expand Down
3 changes: 0 additions & 3 deletions fence/templates/error.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
<head>
<meta charset="utf-8">
<title>{{status_code}}</title>
<link rel="stylesheet" href="/api/static/css/bootstrap.min.css">
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro' rel='stylesheet' type='text/css'>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="/api/static/js/bootstrap.min.js"></script>
</head>

<body>
Expand Down
8 changes: 3 additions & 5 deletions fence/templates/oauthorize.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
<title>Authorization Required</title>

<!-- <link rel="stylesheet" href="css/styles.css?v=1.0"> -->
<link rel="stylesheet" href="/api/static/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="/api/static/js/bootstrap.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>

<!--[if lt IE 9]>
</head>
Expand Down Expand Up @@ -176,7 +174,7 @@ <h1 class="auth-title">
if (parts.length == 2) return parts.pop().split(";").shift();
}
$(document).ready(function(){
$("#yes").click(function(){
$("#yes").on("click", function(){
$.ajax({
type : 'POST',
//remove the .php from results.php.php
Expand All @@ -196,7 +194,7 @@ <h1 class="auth-title">
});
})

$("#no").click(function(){
$("#no").on("click", function(){
$.ajax({
type : 'POST',
//remove the .php from results.php.php
Expand Down

0 comments on commit c8a3786

Please sign in to comment.