diff options
author | silverwind <me@silverwind.io> | 2019-02-28 23:10:08 +0100 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2019-02-28 22:10:08 +0000 |
commit | 8e266c31933343437d8edef3d42f80b50e7e6279 (patch) | |
tree | b0d424d50c6158b8b8b7bf0f896afb9a9a8e34fd /templates | |
parent | 4a2e92bcd1060ba0c124732690fb2f51c7f9d79d (diff) | |
download | gitea-8e266c31933343437d8edef3d42f80b50e7e6279.tar.gz gitea-8e266c31933343437d8edef3d42f80b50e7e6279.zip |
UI: Fix race in update issue labels and assignees (#6194)
Fix #6191
* fix issue update race condition
* fix similar race same race when clearing assignee
* always load promise polyfill
* replace es6-promise with promise-polyfill
* move promise-polyfill to <head>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base/footer.tmpl | 1 | ||||
-rw-r--r-- | templates/base/head.tmpl | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl index 98c9871f20..2481b2187c 100644 --- a/templates/base/footer.tmpl +++ b/templates/base/footer.tmpl @@ -122,7 +122,6 @@ <script src="{{AppSubUrl}}/vendor/plugins/semantic/semantic.min.js"></script> <script src="{{AppSubUrl}}/js/index.js?v={{MD5 AppVer}}"></script> {{if .EnableHeatmap}} - <script src="{{AppSubUrl}}/vendor/plugins/es6-promise/es6-promise.auto.min.js" charset="utf-8"></script> <script src="{{AppSubUrl}}/vendor/plugins/moment/moment.min.js" charset="utf-8"></script> <script src="{{AppSubUrl}}/vendor/plugins/vue-calendar-heatmap/vue-calendar-heatmap.browser.js" charset="utf-8"></script> <script type="text/javascript"> diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index b6afe94bb4..0a8d3bd9b5 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -123,6 +123,7 @@ {{end}} <style class="list-search-style"></style> + <script src="{{AppSubUrl}}/vendor/plugins/promise-polyfill/polyfill.min.js"></script> <script src="{{AppSubUrl}}/vendor/plugins/cssrelpreload/loadCSS.min.js"></script> <script src="{{AppSubUrl}}/vendor/plugins/cssrelpreload/cssrelpreload.min.js"></script> {{if .PageIsUserProfile}} |