Sha256: 46b80835aa7db735bfb1491c2c268c3db2da5af9747bbab2865103469f6ea12f
Contents?: true
Size: 784 Bytes
Versions: 4
Compression:
Stored size: 784 Bytes
Contents
Trestle.ready(function() { // This must be bound to an element beneath document so // that it is fired before any jquery_ujs events. var root = $('body'); // Ensure it is only initialized once if (root.data('bs.confirmation')) return; root.confirmation({ rootSelector: 'body', selector: '[data-toggle="confirm-delete"]', singleton: true, popout: true, title: Trestle.i18n['admin.confirmation.title'] || 'Are you sure?', btnOkIcon: '', btnOkClass: 'btn-danger', btnOkLabel: Trestle.i18n['admin.confirmation.delete'] || 'Delete', btnCancelIcon: '', btnCancelClass: 'btn-default', btnCancelLabel: Trestle.i18n['admin.confirmation.cancel'] || 'Cancel', copyAttributes: '' }); });
Version data entries
4 entries across 4 versions & 1 rubygems