Skip to content

Instantly share code, notes, and snippets.

@dangerouse
Created March 25, 2015 03:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dangerouse/67a6fc4a36eeec0c3657 to your computer and use it in GitHub Desktop.
Save dangerouse/67a6fc4a36eeec0c3657 to your computer and use it in GitHub Desktop.
CloudSponge Widget Options - Close the widget during the beforeImport callback
window.csPageOptions = {
beforeImport: function(source, id) {
console.log('beforeImport('+source+','+id+')');
cloudsponge.end();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment