summaryrefslogtreecommitdiffstats
path: root/extensions/TrackingFlags/template/en
diff options
context:
space:
mode:
authorFateh Sandhu <fatehsandhu@gmail.com>2018-01-02 01:37:23 +0100
committerKohei Yoshino <kohei.yoshino@gmail.com>2018-01-02 01:37:23 +0100
commit37bac7ea1661464624b21f24940cbad625ef056b (patch)
tree7d1ac0308fdc62ddab5a7a948bc488472593aaeb /extensions/TrackingFlags/template/en
parente83fa315f72b97c5504e85236623df1f14dddc94 (diff)
downloadbugzilla-37bac7ea1661464624b21f24940cbad625ef056b.tar.gz
bugzilla-37bac7ea1661464624b21f24940cbad625ef056b.tar.xz
Bug 1426507 - Upgrade BMO to HTML5
Diffstat (limited to 'extensions/TrackingFlags/template/en')
-rw-r--r--extensions/TrackingFlags/template/en/default/bug/tracking_flags.html.tmpl4
-rw-r--r--extensions/TrackingFlags/template/en/default/hook/bug/create/create-form.html.tmpl2
-rw-r--r--extensions/TrackingFlags/template/en/default/hook/bug/edit-after_custom_fields.html.tmpl2
-rw-r--r--extensions/TrackingFlags/template/en/default/hook/bug/field-editable.html.tmpl2
4 files changed, 5 insertions, 5 deletions
diff --git a/extensions/TrackingFlags/template/en/default/bug/tracking_flags.html.tmpl b/extensions/TrackingFlags/template/en/default/bug/tracking_flags.html.tmpl
index 5881d1e6d..962271254 100644
--- a/extensions/TrackingFlags/template/en/default/bug/tracking_flags.html.tmpl
+++ b/extensions/TrackingFlags/template/en/default/bug/tracking_flags.html.tmpl
@@ -32,7 +32,7 @@
[% value.name FILTER html %]</option>
[% END %]
</select>
- <script type="text/javascript">
+ <script>
initHidingOptionsForIE('[% flag.name FILTER js %]');
</script>
[% IF !new_bug && user.id %]
@@ -47,7 +47,7 @@
</tr>
[% END %]
-<script type="text/javascript">
+<script>
var tracking_flags_str = "[% tracking_flags_json FILTER js %]";
TrackingFlags = $.parseJSON(tracking_flags_str);
</script>
diff --git a/extensions/TrackingFlags/template/en/default/hook/bug/create/create-form.html.tmpl b/extensions/TrackingFlags/template/en/default/hook/bug/create/create-form.html.tmpl
index a29357b11..4bb9e1eab 100644
--- a/extensions/TrackingFlags/template/en/default/hook/bug/create/create-form.html.tmpl
+++ b/extensions/TrackingFlags/template/en/default/hook/bug/create/create-form.html.tmpl
@@ -28,7 +28,7 @@
END;
%]
-<script type="text/javascript">
+<script>
$(function() {
var tracking_flag_components_str = "[% tracking_flag_components FILTER js %]";
var tracking_flag_components = $.parseJSON(tracking_flag_components_str);
diff --git a/extensions/TrackingFlags/template/en/default/hook/bug/edit-after_custom_fields.html.tmpl b/extensions/TrackingFlags/template/en/default/hook/bug/edit-after_custom_fields.html.tmpl
index aab7056e6..1571fc4f9 100644
--- a/extensions/TrackingFlags/template/en/default/hook/bug/edit-after_custom_fields.html.tmpl
+++ b/extensions/TrackingFlags/template/en/default/hook/bug/edit-after_custom_fields.html.tmpl
@@ -40,7 +40,7 @@
[% END %]
[% END %]
-<script type="text/javascript">
+<script>
var tracking_flags_str = "[% tracking_flags_json FILTER js %]";
var TrackingFlags = $.parseJSON(tracking_flags_str);
hide_tracking_flags();
diff --git a/extensions/TrackingFlags/template/en/default/hook/bug/field-editable.html.tmpl b/extensions/TrackingFlags/template/en/default/hook/bug/field-editable.html.tmpl
index f598609e8..fb09b0ac1 100644
--- a/extensions/TrackingFlags/template/en/default/hook/bug/field-editable.html.tmpl
+++ b/extensions/TrackingFlags/template/en/default/hook/bug/field-editable.html.tmpl
@@ -29,7 +29,7 @@
</option>
[% END %]
</select>
-<script type="text/javascript">
+<script>
<!--
initHidingOptionsForIE('[% field.name FILTER js %]');
[%+ INCLUDE "bug/field-events.js.tmpl"