From 6c46c56fc88a74a7e40f303e1dfd34447ba61693 Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Wed, 6 Nov 2019 12:10:09 -0500 Subject: [PATCH] Bug 1567696 - Forms for approval requests should indicate XHR / progress --- .../hook/flag/type_comment-form.html.tmpl | 3 + extensions/FlagTypeComment/web/js/ftc.js | 78 +++++++++++++------ skins/standard/attachment.css | 12 +-- skins/standard/global.css | 2 +- template/en/default/attachment/edit.html.tmpl | 1 + 5 files changed, 66 insertions(+), 30 deletions(-) diff --git a/extensions/BMO/template/en/default/hook/flag/type_comment-form.html.tmpl b/extensions/BMO/template/en/default/hook/flag/type_comment-form.html.tmpl index c277b7a7a..bd1c97dc1 100644 --- a/extensions/BMO/template/en/default/hook/flag/type_comment-form.html.tmpl +++ b/extensions/BMO/template/en/default/hook/flag/type_comment-form.html.tmpl @@ -6,6 +6,9 @@ # defined by the Mozilla Public License, v. 2.0. #%] +[%# These forms are available only when updating an attachment %] +[% RETURN UNLESS template.name == "attachment/edit.html.tmpl" %] +