wolfcms/wolfcms — pull request #469 by marekmurawski (2013-02-12 09:23:03+00:00)
Title: Smart Flash infoboxes (delay based on length) 

Some longer messages disappeared too quickly (1500ms) IMO.

This makes Flash::set('success|error|info') messages appear
for time period based on message length.

Each letter in message's text adds 50 milliseconds to display time,
so short messages disappear quickly while long ones are visible longer.

Maximum proposed display time is 5000 ms.