Author: eallen
Date: 2009-04-15 16:13:28 -0400 (Wed, 15 Apr 2009)
New Revision: 3297
Modified:
mgmt/trunk/cumin/python/cumin/stat.strings
Log:
Use wooly.setHash
Modified: mgmt/trunk/cumin/python/cumin/stat.strings
===================================================================
--- mgmt/trunk/cumin/python/cumin/stat.strings 2009-04-15 20:12:50 UTC (rev 3296)
+++ mgmt/trunk/cumin/python/cumin/stat.strings 2009-04-15 20:13:28 UTC (rev 3297)
@@ -98,12 +98,7 @@
var hash = wooly.session.hash();
hash[id] = state;
- var href = window.location.href;
- var hashIndex = href.indexOf("#");
- if (hashIndex > 0) {
- href = href.substring(0, hashIndex);
- }
- window.location.replace(href + "#" + hash.marshal());
+ wooly.session.setHash(hash);
}
return false;
}