Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is there a way to increase the length of time that the popup error messages display? The error messages appear when users try to upload files that are too large or have exceeded their quota. The current popup messages appear for about a second and disappear. it is difficult to read through the error even if you know it is coming let alone not expecting it.
Comments
Comment #1
brokenspokeshane CreditAttribution: brokenspokeshane commentedI think the answer may be in the file js/imce.js lines 549 - 563
I don't know much about javascript though... :(
Comment #2
ufku CreditAttribution: ufku commentedYou may increase the value 1000(1 second) which is on the the line $box.fadeTo(600 * q, 1).fadeTo(1000 * q, 1).fadeOut(400 * q);
I'll consider making it configurable.
Comment #3
ufku CreditAttribution: ufku commentedThis is now adjustable with imce.vars.msgT variable. Default is "1000" ms, which is 1 second.
One can set its value in script.js file of a theme
or in imce-content.tpl.php