--- a/src/spel/__init__.py Thu Mar 27 12:55:28 2014 +0100
+++ b/src/spel/__init__.py Thu Mar 27 16:10:49 2014 +0100
@@ -1,4 +1,4 @@
-VERSION = (0, 4, 0, "final", 0)
+VERSION = (0, 4, 1, "final", 0)
VERSION_STR = unicode(".".join(map(lambda i:"%02d" % (i,), VERSION[:2])))
--- a/src/spel/static/spel/js/spectacle.js Thu Mar 27 12:55:28 2014 +0100
+++ b/src/spel/static/spel/js/spectacle.js Thu Mar 27 16:10:49 2014 +0100
@@ -192,8 +192,8 @@
$('input[name=end_date]').val("");
}
else if($(this).parent().hasClass("reftext")){
- $('#start-text option:first-child').attr("selected", "selected");
- $('#end-text').val("");
+ $('#start-text')[0].selectedIndex = 0;
+ $('#end-text')[0].selectedIndex = $('#end-text').children().length - 1;
}
$("#btn-filter-chapters").click();
// manage when nothing is selected