From: Alf Høgemark Date: Wed, 19 Feb 2014 17:05:55 +0000 (+0100) Subject: ipfire theme: Add missing swapVisibility javascript function X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=commitdiff_plain;h=a636a76016fe214e840cce8856a4fc8a74fba8a7 ipfire theme: Add missing swapVisibility javascript function qos.cgi and media.cgi depend on swapVisibility function, this is defined in each theme, but was missing from the new theme. Add the function, and implement it using jquery, since jquery is always present in the new theme. --- diff --git a/html/html/themes/ipfire/include/functions.pl b/html/html/themes/ipfire/include/functions.pl index 44ed9b758..b3b26b96a 100644 --- a/html/html/themes/ipfire/include/functions.pl +++ b/html/html/themes/ipfire/include/functions.pl @@ -128,6 +128,12 @@ print < + + END foreach my $stylesheet (@stylesheets) {