mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Merge branch 'master' into d3js
This commit is contained in:
@@ -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 %},
|
||||
|
||||
@@ -184,7 +184,7 @@ def editfolder(request, tplname="webmail/folder.html"):
|
||||
if form.cleaned_data["name"] != oldname \
|
||||
or (pf != oldparent):
|
||||
newname = form.cleaned_data["name"] if pf is None \
|
||||
else "%s.%s" % (pf, form.cleaned_data["name"])
|
||||
else mbc.hdelimiter.join([pf, form.cleaned_data["name"]])
|
||||
mbc.rename_folder(request.POST["oldname"], newname)
|
||||
res["oldmb"] = oldname
|
||||
res["newmb"] = form.cleaned_data["name"]
|
||||
|
||||
Reference in New Issue
Block a user