Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
bookshare
Commits
7a4d51e9
Commit
7a4d51e9
authored
Apr 17, 2015
by
Daniel W Bond
Browse files
fixed js on modal
parent
05acd3f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
bookshare/trades/templates/detail_listing.html
View file @
7a4d51e9
...
...
@@ -4,9 +4,6 @@
SRCT Bookshare
•
{{ listing.title }}
{% endblock %}
{% block javascript %}
{% endblock javascript %}
{% block content %}
{% load crispy_forms_tags %}
...
...
@@ -14,13 +11,15 @@ SRCT Bookshare • {{ listing.title }}
{% load humanize %}
<!-- you can't actually dismiss this for some reason -->
{% if flag_count >
0
%}
{% if flag_count >
4
%}
{% block javascript %}
<script
type=
"text/javascript"
>
;
$
(
window
).
on
load
(
function
(){
$
(
window
).
load
(
function
(){
$
(
'
#myModal
'
).
modal
(
'
show
'
);
});
</script>
{% endblock %}
<div
class=
"modal fade"
id=
"myModal"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment