Force state update when query comes from ting
authorJakub Skoczen <jakub@indexdata.dk>
Wed, 2 Mar 2011 16:01:11 +0000 (17:01 +0100)
committerJakub Skoczen <jakub@indexdata.dk>
Wed, 2 Mar 2011 16:01:11 +0000 (17:01 +0100)
mkdru.client.js

index fdb54e6..9365e78 100644 (file)
@@ -384,6 +384,8 @@ $(document).ready(function () {
   // ting thing
   if (typeof(Drupal.settings.mkdru.query) !== "undefined") {
     mkdru.state.query = Drupal.settings.mkdru.query
+    //force the hash to contain query
+    mkdru.hashFromState();
   }
 
   //not running against SP? init, otherwise authenticate