summaryrefslogtreecommitdiff
path: root/chimere
diff options
context:
space:
mode:
Diffstat (limited to 'chimere')
-rw-r--r--chimere/forms.py1
-rw-r--r--chimere/templates/chimere/blocks/welcome.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/chimere/forms.py b/chimere/forms.py
index 23bd295..818fa6e 100644
--- a/chimere/forms.py
+++ b/chimere/forms.py
@@ -122,6 +122,7 @@ class MarkerAdminForm(forms.ModelForm):
"""
Main form for marker
"""
+ description = forms.CharField(widget=TextareaWidget)
class Meta:
model = Marker
diff --git a/chimere/templates/chimere/blocks/welcome.html b/chimere/templates/chimere/blocks/welcome.html
index abbf910..95ad1ac 100644
--- a/chimere/templates/chimere/blocks/welcome.html
+++ b/chimere/templates/chimere/blocks/welcome.html
@@ -5,11 +5,11 @@
function display_welcome(){$("#welcome").dialog({title:"{% trans "Welcome"%}",
width:360});}
$("#welcome_button").bind('click', display_welcome);
-{% if display %}display_welcome();{%endif%}
$(function(){
$('#welcome div.media-player').jmeEmbedControls();
$('#welcome video').each(function(index){$(this).pause()});
$('#welcome audio').each(function(index){$(this).pause()});
+ {% if display %}display_welcome();{%endif%}
});
</script>
<div id='welcome' style='display:none'>