HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

[BUG] Profile Activity Share button

solonovasolonova New
edited February 2012 in Vanilla 2.0 - 2.8

Vanilla profile/activity share button duplicate the comments if click it repeatedly.

The comment appears repeated 20 times if the internet connection is slow.

I am looking for fixed but i cant found the button code in files:

<input id="Form_Share" class="Button" type="submit" value="Share" name="Form/Share">

Could you help me? :)



  • All right, finally i fixed U_U

    I added to js/global.js this code:

            //$('#Form_Share').attr('disabled', 'true').delay(2500).attr('disabled', 'false');
            setTimeout(function() { $('#Form_Share').css('pointer-events','visible'); $('#Form_Share').css('color','#444'); }, 2000);

    Thank you ! : )

  • And this code for button "Form_AddComment" in the activity of other users:

            setTimeout(function() { $('#Form_AddComment').css('pointer-events','visible'); $('#Form_AddComment').css('color','#444'); }, 2000);
  • grep is your friend.

Sign In or Register to comment.