From 3b1290f50d2e20f34040bdde3bbe241704a33793 Mon Sep 17 00:00:00 2001 From: Michael Klier Date: Sat, 11 Oct 2008 16:39:46 +0200 Subject: FS#1134 remove inline javascript from windows shares darcs-hash:20081011143946-23886-78628e3ca7ec0c40f5d288c6a9832cd52b8b083b.gz --- lib/scripts/script.js | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'lib/scripts/script.js') diff --git a/lib/scripts/script.js b/lib/scripts/script.js index 29d3e5db0..8c9327b1f 100644 --- a/lib/scripts/script.js +++ b/lib/scripts/script.js @@ -533,3 +533,30 @@ addInitEvent(function(){ $('action__selectorbtn').style.display = 'none'; }); +/** + * Display error for Windows Shares on browsers other than IE + * + * Michael Klier + */ +function checkWindowsShares() { + var elems = getElementsByClass('windows',document,'a'); + if(elems){ + for(var i=0; i + */ +addInitEvent(function(){ + checkWindowsShares(); +}); -- cgit v1.2.3