📢 Moderators Needed 🚀

Moderators are needed with resources to post or have access to resources to post. Submit an application to be considered.
S

RSS Form.js Disabler - Add option to NOT autofocus

S

Snog

Guest
Guest or Bot
I know this might seem strange, but I have an application where the autofocus for the fields being revealed shouldn't happen. So, I'm wondering if an option could be added to the disabler?

Options in js: autofocus: true // if false, autofocus won't happen

js code:
Code:

Code:
if (this.options.autofocus)
{
    var cb = function () {
        XF.layoutChange();
        select();
    };
}
else
{
    var cb = function () {
        XF.layoutChange();
    };
}
I think that's correct and I have...

Read more

Continue reading...
 
Similar content Most view View more
Back
Top