Examples

Suppress the “Deselect All” Dialog

This example suppresses the confirmation dialog when user presses the “Deselect All” link. When there is no message specified for the confirmation, we skip showing it and assume that the user is OK with it.

To see the effect,

  1. Complete a successful import,
  2. Click “Select All”,
  3. Click “Deselect All”

You should not see the confirmation dialog after clicking “Deselect All” and no contacts should be selected.


Add from Address Book 

<script src="https://api.cloudsponge.com/widget/localhost-only.js"></script>
<script>
cloudsponge.init({
  // by clearning or nulling this text, our widget will skip showing the confirmation dialog
  localeData: {
    DESELECT_CONFIRM: null
  }
})
</script>