]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/uwobo-panel/control.js
first moogle template checkin
[helm.git] / helm / uwobo-panel / control.js
index 4680ed3d866d47706583275d33869417459c7e83..393bd3a68d647f01257041a7d91a09673731b9c7 100644 (file)
@@ -15,17 +15,17 @@ function getParam(name, def)
 
 function getInitialPort()
 {
-  return "68080";
+  return "38080";
 }
 
 function getInitialProcessorURL()
 {
-  return getParam("processorURL", "http://localhost:58080/");
+  return getParam("processorURL", "http://mowgli.cs.unibo.it:58080/");
 }
 
 function getInitialGetterURL()
 {
-  return getParam("getterURL", "http://localhost:58081/");
+  return getParam("getterURL", "http://mowgli.cs.unibo.it:58081/");
 }
 
 function getUwoboURL()
@@ -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]) {