author | Michael Krelin <hacker@klever.net> | 2008-03-01 17:26:13 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2008-03-01 17:26:13 (UTC) |
commit | b2e587331d0020fa2bf35e5a5ada249020858e14 (patch) (unidiff) | |
tree | 1b6b490275bb54b6f579bad3cf6592a1677aa0a8 /src/components/xriProtocolHandler.js | |
parent | fe00dd0be8fd88dc8179eed7a38663f07c1288a7 (diff) | |
download | foxri-b2e587331d0020fa2bf35e5a5ada249020858e14.zip foxri-b2e587331d0020fa2bf35e5a5ada249020858e14.tar.gz foxri-b2e587331d0020fa2bf35e5a5ada249020858e14.tar.bz2 |
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (limited to 'src/components/xriProtocolHandler.js') (more/less context) (ignore whitespace changes)
-rwxr-xr-x | src/components/xriProtocolHandler.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/xriProtocolHandler.js b/src/components/xriProtocolHandler.js index 3d27784..2e09f64 100755 --- a/src/components/xriProtocolHandler.js +++ b/src/components/xriProtocolHandler.js | |||
@@ -292,8 +292,10 @@ function renderService(srv, doc, qxri) | |||
292 | var linkhref = u.nodeValue; | 292 | var linkhref = u.nodeValue; |
293 | var xrap = uu.getAttribute('append'); | 293 | var xrap = uu.getAttribute('append'); |
294 | if(xrap=='qxri') { | 294 | if(xrap=='qxri') { |
295 | linkhref += qxri.replace(/^xri:\/\//,''); | 295 | linkhref += qxri.replace(/^xri:\/\//,''); |
296 | }else if(xrap=='authority') { | ||
297 | linkhref += qxri.replace(/^xri:\/\//,'').replace(/\//.*,''); | ||
296 | }else if(xrap!=null){ | 298 | }else if(xrap!=null){ |
297 | dump("Unhandled @append: "+xrap+"\n"); | 299 | dump("Unhandled @append: "+xrap+"\n"); |
298 | } | 300 | } |
299 | html_uris += "<a href=\""+linkhref+"\">" | 301 | html_uris += "<a href=\""+linkhref+"\">" |