[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Wed Mar 17 20:17:39 UTC 2010


gordonp
Wed Mar 17 16:17:39 EDT 2010
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/resources
In directory dev.open-bio.org:/tmp/cvs-serv11211/src/main/ca/ucalgary/services/resources

Modified Files:
	floatingframe.js 
Log Message:
Updates related to major overhaul of Moby service wrapping system, Daggoo
moby-live/Java/src/main/ca/ucalgary/services/resources floatingframe.js,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/resources/floatingframe.js,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/resources/floatingframe.js	2009/08/17 21:14:00	1.2
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/resources/floatingframe.js	2010/03/17 20:17:39	1.3
@@ -41,8 +41,8 @@
       el.style=el;
     }
     el.sP = function(x,y){
-      this.style.left=x;
-      this.style.top=y;
+      this.style.left=x+"px";
+      this.style.top=y+"px";
     };
 
     if(horizontalPos=="fromright"){
@@ -107,7 +107,7 @@
 /* Get the servlet message */
 window.showHint = function(){
   /* _dataAction is a special parameter whose values comes from ca.ucalgary.services.util.DataRecorder.PASSTHROUGH_ACTION */
-  var url = "?_dataAction=hint";
+  var url = "%SERVLET_URL%?_dataAction=hint";
   url = url + "&sid="+Math.random();  /* The random ID is so IE doesn't cache the GET request */
 
   xmlHttp.onreadystatechange=stateChanged;
@@ -119,7 +119,7 @@
 
 function pasteEvent(fieldObj){
   /* _dataAction is a special parameter whose values comes from ca.ucalgary.services.util.DataRecorder.PASSTHROUGH_ACTION */
-  var url = "?sid="+Math.random()+"&_dataAction=pasteEvent&field="+fieldObj.name;
+  var url = "%SERVLET_URL%?sid="+Math.random()+"&_dataAction=pasteEvent&field="+fieldObj.name;
 
   actionXmlHttp.open("GET",url,true);
   actionXmlHttp.send(null);




More information about the MOBY-guts mailing list