Skip to content

Commit 495b834

Browse files
authored
Merge pull request #66 from vitorfs/dev
Release v2.0.1
2 parents d19d50c + ca06d33 commit 495b834

File tree

3 files changed

+18
-14
lines changed

3 files changed

+18
-14
lines changed

parsifal/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from parsifal.utils.version import get_version
22

3-
VERSION = (2, 0, 0, "final", 0)
3+
VERSION = (2, 0, 1, "final", 0)
44

55
__version__ = get_version(VERSION)

parsifal/apps/reviews/conducting/static/js/conducting_study_selection.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $(function () {
3434
$("#tab-files").html(data);
3535
},
3636
error: function () {
37-
37+
3838
},
3939
complete: function () {
4040
$.parsifal.pageLoading();
@@ -155,10 +155,10 @@ $(function () {
155155

156156
if (keyCode == ESCAPE_KEY) {
157157
if ($("body").hasClass("modal-open")) {
158-
$(".modal").modal('hide');
158+
$(".modal").modal('hide');
159159
}
160160
else {
161-
$(".source-articles tbody tr").removeClass("active");
161+
$(".source-articles tbody tr").removeClass("active");
162162
}
163163
}
164164
else if (!$("body").hasClass("modal-open")) {
@@ -181,10 +181,10 @@ $(function () {
181181

182182
var active = $(".source-articles tbody tr.active").index();
183183
var old_active = active;
184-
var size = $(".source-articles tbody tr").size();
184+
var size = $(".source-articles tbody tr").length;
185185
var next;
186186
do {
187-
active = (active + step) % size;
187+
active = (active + step) % size;
188188
next = $(".source-articles tbody tr:eq("+active+")");
189189
} while($(next).is(":hidden"));
190190
$(".source-articles tbody tr").removeClass("active");
@@ -241,7 +241,7 @@ $(function () {
241241
}
242242
});
243243
}
244-
244+
245245
$(".btn-save-article").click(function () {
246246
save_article(false);
247247
});
@@ -509,4 +509,4 @@ $(function () {
509509
$("#source-tab li.active a").click();
510510
}
511511

512-
});
512+
});

parsifal/apps/reviews/conducting/templates/conducting/conducting_study_selection.html

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
{% extends 'conducting/conducting.html' %}
22

3-
{% load static %}
3+
{% load compress static %}
44

55
{% block stylesheet %}
6-
<link href="{% static 'css/fileupload/jquery.fileupload.css' %}" rel="stylesheet">
6+
{% compress css %}
7+
<link href="{% static 'css/fileupload/jquery.fileupload.css' %}" rel="stylesheet">
8+
{% endcompress %}
79
{% endblock stylesheet %}
810

911
{% block javascript %}
10-
<script src="{% static 'js/fileupload/jquery.ui.widget.js' %}"></script>
11-
<script src="{% static 'js/fileupload/jquery.iframe-transport.js' %}"></script>
12-
<script src="{% static 'js/fileupload/jquery.fileupload.js' %}"></script>
13-
<script src="{% static 'js/conducting_study_selection.js' %}?v=2"></script>
12+
{% compress js %}
13+
<script src="{% static 'js/fileupload/jquery.ui.widget.js' %}"></script>
14+
<script src="{% static 'js/fileupload/jquery.iframe-transport.js' %}"></script>
15+
<script src="{% static 'js/fileupload/jquery.fileupload.js' %}"></script>
16+
<script src="{% static 'js/conducting_study_selection.js' %}"></script>
17+
{% endcompress %}
1418
{% endblock javascript %}
1519

1620
{% block tab_content %}

0 commit comments

Comments
 (0)