Skip to content

Instantly share code, notes, and snippets.

@chadhutchins
Created June 4, 2014 23:54
Show Gist options
  • Save chadhutchins/a7d14f77a765e2608d39 to your computer and use it in GitHub Desktop.
Save chadhutchins/a7d14f77a765e2608d39 to your computer and use it in GitHub Desktop.
Sample use of app re-sync in Sugar 7 in post_install script
window.parent.SUGAR.App.sync({callback: function(){
window.parent.SUGAR.App.router.navigate('#your_module/layout/license', {trigger:true, replace:true});
}});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment