Don't forget to give the URL...

fix #520
This commit is contained in:
Antoine Nguyen
2014-02-05 14:35:36 +01:00
parent ae69e48108
commit 3230bcc652
3 changed files with 3 additions and 2 deletions
@@ -37,4 +37,4 @@ div.row label {
#id_attachment {
width: 290px;
}
}
@@ -945,7 +945,7 @@ Webmail.prototype = {
html: "<i class='icon-remove'></i>"
});
var $label = $("<label />", {html: fname});
var $div = $("<div />").append($delbtn, $label);
var $div = $("<div />", {'class': "row-fluid"}).append($delbtn, $label);
$delbtn.click(this.del_attachment);
$("#id_attachment").val("");
@@ -18,6 +18,7 @@ $(document).ready(function() {
poller_url: "{% url 'modoboa.extensions.webmail.views.check_unseen_messages' %}",
move_url: "{% url 'modoboa.extensions.webmail.views.move' %}",
submboxes_url: "{% url 'modoboa.extensions.webmail.views.submailboxes' %}",
delattachment_url: "{% url 'modoboa.extensions.webmail.views.delattachment' %}",
deflocation: "{{ deflocation }}",
defcallback: "{{ defcallback }}",
ro_mboxes: {% tolist ro_mboxes %},