X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fuwobo-panel%2Fcontrol.js;h=393bd3a68d647f01257041a7d91a09673731b9c7;hb=c90749c827f9c1a359cfe0a48e669952d49187c6;hp=6b13ab8a0fb9580ba58b94519bc0c22d11375bb4;hpb=31c8d5e7f721937c06cfb10eaed4b59b6499ec11;p=helm.git diff --git a/helm/uwobo-panel/control.js b/helm/uwobo-panel/control.js index 6b13ab8a0..393bd3a68 100644 --- a/helm/uwobo-panel/control.js +++ b/helm/uwobo-panel/control.js @@ -13,14 +13,19 @@ function getParam(name, def) return value; } +function getInitialPort() +{ + return "38080"; +} + function getInitialProcessorURL() { - return getParam("processorURL", "http://phd.cs.unibo.it:8080/helm/servlet/uwobo/"); + return getParam("processorURL", "http://mowgli.cs.unibo.it:58080/"); } function getInitialGetterURL() { - return getParam("getterURL", "http://phd.cs.unibo.it:8081/"); + return getParam("getterURL", "http://mowgli.cs.unibo.it:58081/"); } function getUwoboURL() @@ -38,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 + ":8080/helm/servlet/uwobo/"; + document.uwoboURL.elements[0].value = "http://" + ss.options[ss.selectedIndex].value + ":58080/"; } } @@ -113,7 +118,7 @@ function removeStylesheet() function removeAllStylesheets() { - top.result.location.replace(getUwoboURL() + "remove"); + top.result.location.replace(getUwoboURL() + "remove?keys="); } function reloadStylesheet() @@ -121,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]) {