netzke / netzke-core

Framework for Sencha Ext JS + Ruby on Rails client-server components
http://netzke.org
Other
263 stars 77 forks source link

Make FeedbackGhost delay configurable #60

Closed PaulSD closed 11 years ago

PaulSD commented 11 years ago

FeedbackGhost in javascripts/ext.js uses a hard-coded 1 second delay for displaying messages, which my users complain is too short (particularly when displaying validation errors when updating a GridPanel). Please make this delay configurable.

BTW, someone else posted this same request as a question on stackoverflow: http://stackoverflow.com/questions/8444054/set-popup-error-message-duration-in-netzke

mxgrn commented 11 years ago

ad6b6721e7e726d91c3ce3d37c2715d3d2deaa8f makes it possible to configure the delay globally, as well as individually for each netzkeFeedback call (see feedback.rb for usage). This opens a possibility to implement configuration for each delay in Basepack components individually (not yet implemented in Basepack).