X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fuwobo-panel%2Fcontrol.js;h=e9376ec97c8b52cb2aa7cbf5155387d1c4b2719c;hb=60c7321771851b82493bb202185ee184f1e7a3d1;hp=4680ed3d866d47706583275d33869417459c7e83;hpb=76541a5b2971980e72b2e5e9a74bd648ffbc1e36;p=helm.git diff --git a/helm/uwobo-panel/control.js b/helm/uwobo-panel/control.js index 4680ed3d8..e9376ec97 100644 --- a/helm/uwobo-panel/control.js +++ b/helm/uwobo-panel/control.js @@ -20,12 +20,12 @@ function getInitialPort() function getInitialProcessorURL() { - return getParam("processorURL", "http://localhost:58080/"); + return getParam("processorURL", "http://phd.cs.unibo.it:8080/helm/servlet/uwobo/"); } function getInitialGetterURL() { - return getParam("getterURL", "http://localhost:58081/"); + return getParam("getterURL", "http://phd.cs.unibo.it:8081/"); } function getUwoboURL() @@ -43,7 +43,7 @@ function selectUwoboURL(ss) if (ss.selectedIndex == 0) { document.uwoboURL.elements[0].value = ""; } else { - document.uwoboURL.elements[0].value = "http://" + ss.options[ss.selectedIndex].value + ":58080/"; + document.uwoboURL.elements[0].value = "http://" + ss.options[ss.selectedIndex].value + ":8080/helm/servlet/uwobo/"; } } @@ -52,7 +52,7 @@ function selectGetterURL(ss) if (ss.selectedIndex == 0) { document.getterURL.elements[0].value = ""; } else { - document.getterURL.elements[0].value = "http://" + ss.options[ss.selectedIndex].value + ":58081/"; + document.getterURL.elements[0].value = "http://" + ss.options[ss.selectedIndex].value + ":8081/"; } } @@ -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]) {