aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web')
-rw-r--r--templates/web/fixmybarangay/around/tabbed_lists.html8
-rw-r--r--templates/web/fixmybarangay/header.html4
2 files changed, 6 insertions, 6 deletions
diff --git a/templates/web/fixmybarangay/around/tabbed_lists.html b/templates/web/fixmybarangay/around/tabbed_lists.html
index d73935a9c..77ca84ee4 100644
--- a/templates/web/fixmybarangay/around/tabbed_lists.html
+++ b/templates/web/fixmybarangay/around/tabbed_lists.html
@@ -61,16 +61,16 @@ $(document).ready(function() {
$('input[name=mm_text]').prop('checked', false); // uncheck all
}
$('#form_detail').val(msg_text);
- $('#mm_msg_id').val(service_id);
+ $('#external_source_id').val(service_id);
}
message_manager.config({url_root: mm_url});
message_manager.setup_click_listener({callback:mm_selected_message});
- // problem form hidden input "mm_msg_id": pass the MM id into FMS, if used
+ // problem form hidden input "external_source_id": pass the MM id into FMS, if used
$('<input type="hidden"/>').attr({
- 'id': 'mm_msg_id',
- 'name': 'mm_msg_id',
+ 'id': 'external_source_id',
+ 'name': 'external_source_id',
}).appendTo($('#problem_form'));
$('#available-submit').click(function(e){
diff --git a/templates/web/fixmybarangay/header.html b/templates/web/fixmybarangay/header.html
index e60e46ab2..052b2dd4d 100644
--- a/templates/web/fixmybarangay/header.html
+++ b/templates/web/fixmybarangay/header.html
@@ -27,10 +27,10 @@
[% allow_creation = !c.cobrand.only_authed_can_create || (c.user && c.user.from_council); %]
[% IF allow_creation %]
<script src="[% version('/cobrands/fixmybarangay/message_manager_client.js') %]" charset="utf-8"></script>
- [% IF c.req.params.mm_msg_id && problem && problem.mm_msg_id.match('^\d+$') %]
+ [% IF c.req.params.external_source_id && problem && problem.external_source_id.match('^\d+$') %]
<script>
$(document).ready(function() {
- var mm_msg_id ="[% c.req.params.mm_msg_id %]";
+ var mm_msg_id ="[% c.req.params.external_source_id %]";
var fms_id = "[% problem.id %]";
if (mm_msg_id && fms_id) {
message_manager.config({url_root: "[% c.config.MESSAGE_MANAGER_URL %]"});