Aleksander Machniak
2015-01-09 1187f60d12db504b13dd3f0156926c5df40cba1e
Build proper quota text when quota 'percent' is undefined
1 files modified
2 ■■■ changed files
program/js/app.js 2 ●●● patch | view | raw | blame | history
program/js/app.js
@@ -6727,7 +6727,7 @@
  this.set_quota = function(content)
  {
    if (this.gui_objects.quotadisplay && content && content.type == 'text')
      $(this.gui_objects.quotadisplay).html(content.percent+'%').attr('title', content.title);
      $(this.gui_objects.quotadisplay).text((content.percent||0) + '%').attr('title', content.title);
    this.triggerEvent('setquota', content);
    this.env.quota_content = content;