JsTemplate/Link.js
[gnome.introspection-doc-generator] / JsTemplate / Link.js
index 5be54d1..e70c3f2 100644 (file)
@@ -207,13 +207,11 @@ Link = XObject.define(
         },
         
           /** very basic link... */
-        _makeFileLink : function(filePath) {
+        _makeLink : function(url) {
             var target = (this.targetName)? " target=\""+this.targetName+"\"" : "";
-                
-            var outFilePath =  Link.base + filePath;
-
-            if (!this.text) this.text = filePath;
-            return "<a href=\""+outFilePath+"\""+target+">"+this.text+"</a>";
+             
+            if (!this.text) this.text = url;
+            return "<a href=\""+url+"\""+target+">"+this.text+"</a>";
         }
         
 });