summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template/en/default/hook
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BMO/template/en/default/hook')
-rw-r--r--extensions/BMO/template/en/default/hook/admin/products/edit-common-rows.html.tmpl2
-rw-r--r--extensions/BMO/template/en/default/hook/attachment/edit-view.html.tmpl2
-rw-r--r--extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl2
-rw-r--r--extensions/BMO/template/en/default/hook/bug/edit-after_op_sys.html.tmpl2
-rw-r--r--extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl2
5 files changed, 5 insertions, 5 deletions
diff --git a/extensions/BMO/template/en/default/hook/admin/products/edit-common-rows.html.tmpl b/extensions/BMO/template/en/default/hook/admin/products/edit-common-rows.html.tmpl
index d2258eccb..5486684f1 100644
--- a/extensions/BMO/template/en/default/hook/admin/products/edit-common-rows.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/admin/products/edit-common-rows.html.tmpl
@@ -30,7 +30,7 @@
<span id="security_group_warning" style="color:red; display:none;">
This security group needs to be set to SHOWN/SHOWN
</span>
- <script type="text/javascript">
+ <script>
var toggleGroupWarning = function() {
var correct_shown = $('#security_group_id option:selected').data('group-correct-visibility');
if ($('#security_group_id').val() === '' || correct_shown) {
diff --git a/extensions/BMO/template/en/default/hook/attachment/edit-view.html.tmpl b/extensions/BMO/template/en/default/hook/attachment/edit-view.html.tmpl
index 60159fcb2..c66a02371 100644
--- a/extensions/BMO/template/en/default/hook/attachment/edit-view.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/attachment/edit-view.html.tmpl
@@ -35,7 +35,7 @@
[% attachment_data FILTER html %]
</pre>
[% IF user.id %]
- <script type="text/javascript">
+ <script>
<!--
var patchviewerinstalled = 0;
document.write('<button type="button" id="editButton" onclick="editAsComment(patchviewerinstalled);">Edit Attachment As Comment<\/button>');
diff --git a/extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl b/extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl
index 5260a6c7a..6e15e50d3 100644
--- a/extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl
@@ -7,7 +7,7 @@
#%]
[%# Display product and component descriptions after their respective fields %]
-<script type="text/javascript">
+<script>
var Event = YAHOO.util.Event;
var Dom = YAHOO.util.Dom;
Event.onDOMReady(function() {
diff --git a/extensions/BMO/template/en/default/hook/bug/edit-after_op_sys.html.tmpl b/extensions/BMO/template/en/default/hook/bug/edit-after_op_sys.html.tmpl
index ff7740f93..f597716c7 100644
--- a/extensions/BMO/template/en/default/hook/bug/edit-after_op_sys.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/bug/edit-after_op_sys.html.tmpl
@@ -39,7 +39,7 @@
</button>
[% END %]
-<script [% script_nonce FILTER none %] type="text/javascript">
+<script [% script_nonce FILTER none %]>
$('#rep_hw_os').click(function() {
$('#rep_platform').val('[% hw_os.0 FILTER js FILTER html %]');
$('#op_sys').val('[% hw_os.1 FILTER js FILTER html %]');
diff --git a/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl b/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl
index 3e01585ad..31669f47f 100644
--- a/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl
@@ -45,7 +45,7 @@
id = field.name name = field.name minrows = 4 maxrows = 8
cols = 60 defaultcontent = value %]
</div>
- <script type="text/javascript">
+ <script>
hideEditableField('[% field.name FILTER js %]_edit_container',
'[% field.name FILTER js %]_input',
'[% field.name FILTER js %]_edit_action',