Trigger client event when setting quota; fix plain text quota display

pull/1/head
thomascube 13 years ago
parent 011e8055fe
commit fe1bd5f960

@ -5582,8 +5582,9 @@ function rcube_webmail()
if (typeof content === 'object' && content.type == 'image') if (typeof content === 'object' && content.type == 'image')
this.percent_indicator(this.gui_objects.quotadisplay, content); this.percent_indicator(this.gui_objects.quotadisplay, content);
else else
$(this.gui_objects.quotadisplay).html(content); $(this.gui_objects.quotadisplay).html(content.percent+'%').attr('title', content.title);
} }
this.triggerEvent('setquota', content);
}; };
// update the mailboxlist // update the mailboxlist

Loading…
Cancel
Save