Setup ManifestStaticFilesStorage

This commit is contained in:
Claude Paroz 2016-09-08 16:04:51 +02:00
parent f8b1afcf72
commit e28dd82aa5
7 changed files with 19 additions and 14 deletions

View file

@ -151,12 +151,12 @@ $(document).ready(function() {
$('#student_detail').load(
'/student/' + $(this).val() + '/summary/?period=' + $.cookie('periode'),
function() {
$('div#previous_stages_head').toggle(function() {
$('div#previous_stages_head').click(function() {
$('ul#previous_stages_list').toggle();
$(this).find('img').attr('src', static_url + 'img/open.png');
}, function() {
$('ul#previous_stages_list').toggle();
$(this).find('img').attr('src', static_url + 'img/closed.png');
var img = $(this).find('img');
var cur_img = img.attr('src');
img.attr('src', img.data('imgtoggle'));
img.data('imgtoggle', cur_img);
});
}).addClass("filled");
current_student = $(this).val();