* Update plugins/delete-project from branch 'stable-3.0'
to c255937823fa60a26d41d71e0373edfd4c5af499
- Merge branch 'stable-2.16' into stable-3.0
* stable-2.16:
Fix so that GWTUI js file is not executed under PolyGerrit
Change-Id: I9b5e59bb31cc7de07cf863af7baebe556e8f494f
- Merge "Fix so that GWTUI js file is not executed under PolyGerrit" into stable-2.16
- Fix so that GWTUI js file is not executed under PolyGerrit
When using PolyGerrit, it appears that it loads GWTUI specific
delete-project js files. It dosen't appear to inject "window.Polymer"
into it thus will always equal undefined or false.
To fix this we look for the GERRIT_UI cookie which if the user is using
GWTUI, will have this set.
Change-Id: I2512fe18108799f3a73b00ada8a756eb6e397879