summaryrefslogtreecommitdiffstats
path: root/extensions/ComponentWatching
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/ComponentWatching')
-rw-r--r--extensions/ComponentWatching/template/en/default/account/prefs/component_watch.html.tmpl4
-rw-r--r--extensions/ComponentWatching/template/en/default/hook/admin/components/edit-common-rows.html.tmpl2
2 files changed, 3 insertions, 3 deletions
diff --git a/extensions/ComponentWatching/template/en/default/account/prefs/component_watch.html.tmpl b/extensions/ComponentWatching/template/en/default/account/prefs/component_watch.html.tmpl
index b70a46b35..2a2ab6bc5 100644
--- a/extensions/ComponentWatching/template/en/default/account/prefs/component_watch.html.tmpl
+++ b/extensions/ComponentWatching/template/en/default/account/prefs/component_watch.html.tmpl
@@ -23,7 +23,7 @@
}
</style>
-<script>
+<script [% script_nonce FILTER none %]>
var Dom = YAHOO.util.Dom;
var useclassification = false;
var first_load = true;
@@ -47,7 +47,7 @@ var watch_users = new Array();
<script src="[% 'js/productform.js' FILTER version FILTER html %]">
</script>
-<script>
+<script [% script_nonce FILTER none %]>
function onSelectProduct() {
var component = Dom.get('component');
selectProduct(Dom.get('product'), component);
diff --git a/extensions/ComponentWatching/template/en/default/hook/admin/components/edit-common-rows.html.tmpl b/extensions/ComponentWatching/template/en/default/hook/admin/components/edit-common-rows.html.tmpl
index e6a04f092..940fc2d11 100644
--- a/extensions/ComponentWatching/template/en/default/hook/admin/components/edit-common-rows.html.tmpl
+++ b/extensions/ComponentWatching/template/en/default/hook/admin/components/edit-common-rows.html.tmpl
@@ -27,7 +27,7 @@
</td>
</tr>
-<script>
+<script [% script_nonce FILTER none %]>
function sanitise_name(name) {
return name.toLowerCase()
.replace(/[^a-z0-9_]/g, '-')