Skip to content

Instantly share code, notes, and snippets.

@boertel
Created September 17, 2012 18:43
Show Gist options
  • Save boertel/3738999 to your computer and use it in GitHub Desktop.
Save boertel/3738999 to your computer and use it in GitHub Desktop.
Open the catalog with pt_open=catalog in the URL.
<script type="text/javascript" charset="utf-8">
window.ptReady = window.ptReady || [];
window.ptReady.push(function () {
var args = PT.serializer.qsDecode(document.location.search);
if (args.pt_open !== undefined) {
PT.event.trigger('mast.open', {panel: args.pt_open});
}
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment