<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1452,7 +1452,7 @@ gadgets.rpc = function() {
     getRelayUrl: function(targetId) {
       var url = relayUrl[targetId];
       // Some RPC methods (wpm, for one) are unhappy with schemeless URLs.
-      if (url.indexOf('//') == 0) {
+      if (url &amp;&amp; url.indexOf('//') == 0) {
         url = document.location.protocol + url;
       }
       </diff>
      <filename>features/src/main/javascript/features/rpc/rpc.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ce01604461c042c81bede3d83bd3f5fd6bc1607e</id>
    </parent>
  </parents>
  <author>
    <name>Paul Lindner</name>
    <email>lindner@apache.org</email>
  </author>
  <url>http://github.com/sgala/apache-incubator-shindig/commit/9121077d19ad31b78c879f3e7d4724109d3ae21e</url>
  <id>9121077d19ad31b78c879f3e7d4724109d3ae21e</id>
  <committed-date>2009-05-09T22:32:51-07:00</committed-date>
  <authored-date>2009-05-09T22:32:51-07:00</authored-date>
  <message>SHINDIG-1053 | via Balaji Srinivasan | rpc.js getRelayUrl throws an exception if called for a target that is not configured.



git-svn-id: https://svn.apache.org/repos/asf/incubator/shindig/trunk@773307 13f79535-47bb-0310-9956-ffa450edef68</message>
  <tree>49accd22647a90e98d362b162e3935ce614a1311</tree>
  <committer>
    <name>Paul Lindner</name>
    <email>lindner@apache.org</email>
  </committer>
</commit>
