<p dir="auto">Part of <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/openstreetmap/openstreetmap-website/commit/2d1862120c1b7c18ce9493139fb874a6ef08a0e1/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/commit/2d1862120c1b7c18ce9493139fb874a6ef08a0e1"><tt>2d18621</tt></a>.</p>
<p dir="auto">This is a method that gets called</p>
<ul dir="auto">
<li>for controllers that have it defined</li>
<li>when the "Reload current page" button is pressed in the browser</li>
<li>if it's possible to detect that this button is pressed</li>
</ul>
<p dir="auto">Otherwise the usual "load" method is called.</p>
<p dir="auto">If any kind of client-side caching is used, js controllers can flush the cache in this method.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/3774'>https://github.com/openstreetmap/openstreetmap-website/pull/3774</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3774/commits/8f8e5def46e2491a90d68e7792fffec9e0775b87" class="commit-link">8f8e5de</a> Introduce "reload" js controller method</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3774/files">1 file</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3774/files#diff-3635093596ec53c4cebe7c2263939a5b01c8b9c71462506873f73af8429cabbc">app/assets/javascripts/router.js</a>
(22)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3774.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/3774.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3774.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/3774.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3774">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLNZH7FHAZNRYCZKTTWFPE53ANCNFSM6AAAAAARRBTWJI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPPBPBFHU4KIK2BQTLWFPE53A5CNFSM6AAAAAARRBTWJKWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHFKEOOZY.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/3774</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3774",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3774",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>