2019-04-19 18:17:41 +02:00
|
|
|
$(function () {
|
|
|
|
$("body").on("click", ".scrub-realm-button", function (e) {
|
|
|
|
e.preventDefault();
|
|
|
|
var string_id = $(this).data("string-id");
|
|
|
|
var message = 'Do you really want to scrub the realm "' + string_id + '"? This action is irreversible.';
|
|
|
|
if (confirm(message)) { // eslint-disable-line no-alert
|
|
|
|
this.form.submit();
|
|
|
|
}
|
|
|
|
});
|
2019-06-12 16:09:24 +02:00
|
|
|
|
|
|
|
$('a.copy-button').click(function () {
|
2019-09-18 15:04:36 +02:00
|
|
|
common.copy_data_attribute_value($(this), "copytext");
|
2019-06-12 16:09:24 +02:00
|
|
|
});
|
2019-04-19 18:17:41 +02:00
|
|
|
});
|