Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gdakram/394073 to your computer and use it in GitHub Desktop.
Save gdakram/394073 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
//--<![CDATA[
$j(document).ready(function(){
var citizen_id = CookieManager.read("QaAuth_QaCookie").replace(/_\d+/,"");
var qpack_object_id = 7328;
$j.ajax({
url : "/fq/qpack_objects/distribute",
type : "POST",
dataType : "script",
data : "citizen_id="+citizen_id+"&qpack_object_id="+qpack_object_id
});
});
//--]]>
</script>
@gdakram
Copy link
Author

gdakram commented May 7, 2010

This one above distributes a static object 7328 to whoever the quester is viewing the dialog page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment