aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-03-14 15:36:39 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-03-14 15:36:39 +0000
commitc34c5eeaa7122ea2f2078f0051740a78ce821cb0 (patch)
treedd2c67b20f21e0c3a7a0b12caa963eeaede540e3 /templates
parent8884d896d6be9826d412615d37a8a4926289ed6a (diff)
parent67944e4bf8a716a45b7986b7df8fb44014265007 (diff)
Merge remote branch 'origin/hide-problem-test'
Diffstat (limited to 'templates')
-rw-r--r--templates/web/fixmybarangay/report/_message_manager.html2
-rw-r--r--templates/web/fixmystreet/report/display.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/fixmybarangay/report/_message_manager.html b/templates/web/fixmybarangay/report/_message_manager.html
index b2537e907..3845feeef 100644
--- a/templates/web/fixmybarangay/report/_message_manager.html
+++ b/templates/web/fixmybarangay/report/_message_manager.html
@@ -73,7 +73,7 @@ $(document).ready(function() {
// call this to push the auto-refresh timeout off so it's only triggered
// if there's no activity for a while
function reset_timeout() {
- if (refresh_period && can_refresh) {
+ if (mm_url && refresh_period && can_refresh) {
if (timeout_id) {
clearTimeout(timeout_id);
}
diff --git a/templates/web/fixmystreet/report/display.html b/templates/web/fixmystreet/report/display.html
index f832c0a4d..b75ef92bc 100644
--- a/templates/web/fixmystreet/report/display.html
+++ b/templates/web/fixmystreet/report/display.html
@@ -28,7 +28,7 @@
<div class="shadow-wrap">
<ul id="key-tools">
[% IF c.user_exists AND c.cobrand.users_can_hide AND c.user.belongs_to_body( c.cobrand.council_id ) %]
- <li><form method="post" action="/report/delete/[% problem.id %]">
+ <li><form method="post" action="/report/delete/[% problem.id %]" id="remove-from-site-form">
<input type="submit" id="key-tool-report-abuse" class="abuse" value="Remove from site">
</form></li>
[% ELSIF c.cobrand.moniker != 'zurich' %]