mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-20 11:33:25 +02:00
If a deleted-branch has already been restored, a request to restore it again will cause a NPE. This PR adds detection for this case, but also disables buttons when they're clicked in order to help prevent accidental repeat requests. Fix #21930 Signed-off-by: Andrew Thornton <art27@cantab.net> |
||
---|---|---|
.. | ||
components | ||
features | ||
markup | ||
modules | ||
standalone | ||
test | ||
bootstrap.js | ||
index.js | ||
jquery.js | ||
serviceworker.js | ||
svg.js | ||
svg.test.js | ||
utils.js | ||
utils.test.js |