From: Luca Padovani Date: Wed, 16 Jul 2003 08:39:41 +0000 (+0000) Subject: * syntax update for "remove all stylesheets" in control.js X-Git-Tag: LucaOK~78 X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=commitdiff_plain;h=54c135065412e4af07be487b453dbac7c2b45034 * syntax update for "remove all stylesheets" in control.js * reloadAll function created --- diff --git a/helm/uwobo-panel/control.html b/helm/uwobo-panel/control.html index e9e80d831..3f68abb91 100644 --- a/helm/uwobo-panel/control.html +++ b/helm/uwobo-panel/control.html @@ -370,7 +370,7 @@ care, and remember that the servlet can be shared among different users:
- +
diff --git a/helm/uwobo-panel/control.js b/helm/uwobo-panel/control.js index cd04429c0..e9376ec97 100644 --- a/helm/uwobo-panel/control.js +++ b/helm/uwobo-panel/control.js @@ -118,7 +118,7 @@ function removeStylesheet() function removeAllStylesheets() { - top.result.location.replace(getUwoboURL() + "remove"); + top.result.location.replace(getUwoboURL() + "remove?keys="); } function reloadStylesheet() @@ -126,6 +126,11 @@ function reloadStylesheet() top.result.location.replace(getUwoboURL() + "reload?keys=" + document.stylesheetKey.elements[0].value); } +function reloadAllStylesheets() +{ + top.result.location.replace(getUwoboURL() + 'reload?keys='); +} + function loadAllPredefined() { with (document.predefinedStylesheets.elements[0]) {