Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1271: Call location.reload after XHR finishes #2071

Merged
merged 1 commit into from
Jun 28, 2017

Conversation

knixeur
Copy link
Contributor

@knixeur knixeur commented Jun 28, 2017

location.reload was being called when the related dropdown
was hidden, even if a request initiated before to update this
value hadn't finished. This caused troubles on Firefox.

Please check the following:

  1. Make sure you are targeting the master branch, pull requests on release branches are only allowed for bug fixes.
  2. Read contributing guidelines: https://github.com/go-gitea/gitea/blob/master/CONTRIBUTING.md
  3. Describe what your pull request does and which issue you're targeting (if any)

You MUST delete the content above including this line before posting, otherwise your pull request will be invalid.

location.reload was being called when the related dropdown
was hidden, even if a request initiated before to update this
value hadn't finished. This caused troubles on Firefox.
@lunny lunny added this to the 1.2.0 milestone Jun 28, 2017
@lunny lunny added the type/bug label Jun 28, 2017
@lunny
Copy link
Member

lunny commented Jun 28, 2017

Great. LGTM will fix #1271. Thanks!

@tboerger tboerger added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jun 28, 2017
@lafriks
Copy link
Member

lafriks commented Jun 28, 2017

This should probably be reworked in 1.3 not to reload page at all but otherwise LGTM

@tboerger tboerger added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jun 28, 2017
@lunny lunny merged commit 858197b into go-gitea:master Jun 28, 2017
@lunny
Copy link
Member

lunny commented Jun 28, 2017

@lafriks let's merge this at first.

@lafriks
Copy link
Member

lafriks commented Jun 28, 2017

@lunny yes, of course, that should be other PR after 1.2.0 is released

@knixeur knixeur deleted the fix1271 branch June 28, 2017 13:03
@lunny
Copy link
Member

lunny commented Aug 11, 2017

It seems this PR is difficult to back ported to v1.1. I have gave up this.

@bkcsoft
Copy link
Member

bkcsoft commented Aug 23, 2017

@lunny Have you checked that this needs doing on v1.1.3?

@lunny
Copy link
Member

lunny commented Aug 23, 2017

Yes, v1.1.4

@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants