mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Fix a bug which duplicated glyphicons on click on action buttons in webmail pages
This commit is contained in:
@@ -49,11 +49,6 @@ Webmail.prototype = {
|
||||
|
||||
/* Responsive -> init */
|
||||
|
||||
/*if ($( window ).width()<760){
|
||||
$("tr td[name='from']").css({
|
||||
width: 35 + '%'
|
||||
});
|
||||
}*/
|
||||
|
||||
if ($( window ).width()<1198){
|
||||
$("#leftcol").addClass(
|
||||
@@ -89,7 +84,7 @@ Webmail.prototype = {
|
||||
var that = this;
|
||||
$(window).resize(function(){
|
||||
|
||||
if ($( window ).width()<760){
|
||||
if ($( window ).width()<770){
|
||||
$("tr td[name='from']").css({
|
||||
width: 35 + '%'
|
||||
});
|
||||
@@ -343,7 +338,7 @@ Webmail.prototype = {
|
||||
var $link = $('a[href="' + mailbox + '"]');
|
||||
var parts = mailbox.split(this.options.hdelimiter);
|
||||
var dname = " " + parts[parts.length - 1];
|
||||
var $i = $link.children("i");
|
||||
var $i = $link.children("i:visible");
|
||||
|
||||
this.unseen_counters[mailbox] = value;
|
||||
if (value) {
|
||||
@@ -688,6 +683,7 @@ Webmail.prototype = {
|
||||
},
|
||||
|
||||
send_mark_request: function(e) {
|
||||
|
||||
e.preventDefault();
|
||||
if (!this.htmltable.current_selection().length) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user