Publish 'authenticated' when using pazpar2
authorJason Skomorowski <jason@indexdata.com>
Fri, 16 Jan 2015 17:36:00 +0000 (12:36 -0500)
committerJason Skomorowski <jason@indexdata.com>
Fri, 16 Jan 2015 17:36:00 +0000 (12:36 -0500)
src/mkws-core.js

index 327519a..719e3e0 100644 (file)
@@ -658,6 +658,9 @@ mkws.info("Using window.name '" + window.name + "'");
     } else if (!mkws.authenticating) {
       // raw pp2 or we have a session already open
       runAutoSearches();
+      for (var teamName in mkws.teams) {
+        mkws.teams[teamName].queue("authenticated").publish();
+      }
     }
     
     mkws.isActive = true;