Merge pull request #800 from Gluejar/dj111-errata

fix scripts
pull/95/head
eshellman 2018-07-30 17:09:42 -04:00 committed by GitHub
commit 6b7b25e0b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,5 @@
<script type="text/javascript" src="/static/js/watermark_init.js"></script>
<script type="text/javascript" src="/static/js/watermark_change.js"></script>
<p id="add_your_books"><b>Claiming a work</b></p>
<p>If your book is indexed in Google books, we can add it to our database automagically. Click on the result list to add your book to our database.</p>
<form action="{% url 'search' %}" method="get">

View File

@ -15,8 +15,6 @@
<script type="text/javascript" src="{{ jquery_home }}"></script>
<script type="text/javascript" src="/static/js/jquery.cookie.js"></script>
<script type="text/javascript" src="/static/js/sitewide1.js"></script>
<script type="text/javascript" src="/static/js/watermark_init.js"></script>
<script type="text/javascript" src="/static/js/watermark_change.js"></script>
{% block extra_js %}
{% endblock %}
{% if show_langs %}

View File

@ -69,7 +69,7 @@ ul.fancytree-container {
// this is the id of the submit button
$j('#add_subject_submit').click(function(event) {
data= $j('#id_add_subject_0').attr('value')
data= $j('#id_add_subject_0').val()
if (data == 'xxbadform'){
alert("bad keyword");
} else {