diff --git a/src/IDF/templates/idf/issues/create.html b/src/IDF/templates/idf/issues/create.html
index ceeee4d..6e4e73f 100644
--- a/src/IDF/templates/idf/issues/create.html
+++ b/src/IDF/templates/idf/issues/create.html
@@ -107,16 +107,19 @@ $(document).ready(function(){
$("#form-show-0").click(function(){
$("#form-attachment-1").show();
$("#form-block-0").hide();
+ return false;
});
$("#form-attachment-1 td").append("{/literal}{trans 'Attach another file'}{literal}");
$("#form-show-1").click(function(){
$("#form-attachment-2").show();
$("#form-block-1").hide();
+ return false;
});
$("#form-attachment-2 td").append("{/literal}{trans 'Attach another file'}{literal}");
$("#form-show-2").click(function(){
$("#form-attachment-3").show();
$("#form-block-2").hide();
+ return false;
});
var j=0;
for (j=1;j<4;j=j+1) {
diff --git a/src/IDF/templates/idf/issues/view.html b/src/IDF/templates/idf/issues/view.html
index ad7f809..0a08cf7 100644
--- a/src/IDF/templates/idf/issues/view.html
+++ b/src/IDF/templates/idf/issues/view.html
@@ -160,16 +160,19 @@ $(document).ready(function(){
$("#form-show-0").click(function(){
$("#form-attachment-1").show();
$("#form-block-0").hide();
+ return false;
});
$("#form-attachment-1 td").append("{/literal}{trans 'Attach another file'}{literal}");
$("#form-show-1").click(function(){
$("#form-attachment-2").show();
$("#form-block-1").hide();
+ return false;
});
$("#form-attachment-2 td").append("{/literal}{trans 'Attach another file'}{literal}");
$("#form-show-2").click(function(){
$("#form-attachment-3").show();
$("#form-block-2").hide();
+ return false;
});
var j=0;
for (j=1;j<4;j=j+1) {