Lack of interest Make xf alert 3rd party dev. friendlier

  • Thread starter Thread starter ragtek
  • Start date Start date
This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.
R

ragtek

Guest
ATM the xf alert have the errorOverlay class.

If you would make this changeable (for example add a new parameter to the alert method) we could use the alert box for own add-ons.
I've started using it for several projects (for example: http://xenforo.com/community/posts/235163/ ) but i stopped it and implemented a own method, because i don't wanted to have the errorOverlay class.

I'm not sure if it's possible to change it dynamic, because i'm no js & jquery pro and i hadn't found any trigger event there....
So i implemented several own methods for this (which i have to refactor and move to my framework, so i can use it for all my add-ons), but it's IMHO better if it's in the core.

We would need only 1 extraparam for the class string. If it's not set, use "errorOverlay",...

Hope you know what i mean
badteeth.gif
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Top Bottom