A minor error when defining the class name to show quota (Horde 5, IMP 6, dynamic view). If the quota > 100% it shows in red (alert). Changing quota below 75% and clicking the "Refresh" button, it still shows in red (alert).

Comparing with Horde 4, IMP 5, I´ve find and changed:

imp/lib/Ajax/Queue.php, function add, line 172
from:
: ($quotadata['percent'] >= 75 ? 'warn' : '')
to:
: ($quotadata['percent'] >= 75 ? 'warn' : 'control')

imp/js/dimpbase.js, quotaCallback: function, line 2069
from (there are two "case 'alert'", this is the  second one)
case 'alert':
to
case 'control':

That seems to have solved the error.

Maurício José T. Tecles
Instituto de Biofísica C. C. F. - UFRJ
[email protected]
Tel.: (21) 2562-6544






----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]

Reply via email to