Sha256: 92dc16e531f7679321cce0f74d9a7a3869a76fd454a0d155f8b89118c554d70b

Contents?: true

Size: 280 Bytes

Versions: 3

Compression:

Stored size: 280 Bytes

Contents

function virt_who_copy_configuration_to_clipboard(text) {
  try {
    navigator.clipboard.writeText(text);
  } catch (error) {
    console.error(
      "Copying to clipboard is not supported in this browser, or with an insecure connection."
    );
    console.error(error);
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
foreman_virt_who_configure-0.5.25 app/assets/javascripts/foreman_virt_who_configure/config_copy_and_paste.js
foreman_virt_who_configure-0.5.24 app/assets/javascripts/foreman_virt_who_configure/config_copy_and_paste.js
foreman_virt_who_configure-0.5.23 app/assets/javascripts/foreman_virt_who_configure/config_copy_and_paste.js