thomascube
2011-12-26 fe1bd5f960d85f19ad639d9a4eee9da2aaffaeb8
Trigger client event when setting quota; fix plain text quota display

1 files modified
3 ■■■■ changed files
program/js/app.js 3 ●●●● patch | view | raw | blame | history
program/js/app.js
@@ -5582,8 +5582,9 @@
      if (typeof content === 'object' && content.type == 'image')
        this.percent_indicator(this.gui_objects.quotadisplay, content);
      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