Advertisement:

Author Topic: [TIP] adding the "wait" cursor for uploads - all themes  (Read 4316 times)

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: [TIP] adding the "wait" cursor for uploads - all themes
« Reply #15 on: March 26, 2014, 12:47:25 pm »
@soymarketing
I think this could be fixed in core (if there would be someone really needing this).
I do not really know where those functions are placed, but when validation failed, it is called this function:

Code: [Select]
invalidHandler: function(form, validator) {
  $('html,body').animate({ scrollTop: $('h1').offset().top }, { duration: 250, easing: 'swing'});
}

You could change it to
Code: [Select]
invalidHandler: function(form, validator) {
  $('html,body').animate({ scrollTop: $('h1').offset().top }, { duration: 250, easing: 'swing'});
  $("*").css("cursor", "default");
}

and you would win it :)

leboncoin

  • Jr. Member
  • **
  • Posts: 63
Re: [TIP] adding the "wait" cursor for uploads - all themes
« Reply #16 on: March 29, 2014, 05:43:01 pm »
Thats a cool little extra - Thanks for sharing!

Although  with the new image uploader  in bender it might not be needed as there is on screen indication.