mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-11 19:18:46 +00:00
System Status: Enhance Support Information section.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
function copy_to_clipboard() {
|
||||
const span_id = document.getElementById("system_information");
|
||||
const text_to_copy = span_id.innerText;
|
||||
const element_id = document.getElementById("system_information");
|
||||
const text_to_copy = element_id.value;
|
||||
|
||||
navigator.clipboard.writeText(text_to_copy)
|
||||
.then(function() {
|
||||
@@ -9,4 +9,4 @@ function copy_to_clipboard() {
|
||||
.catch(function(err) {
|
||||
console.error('Unable to copy text to clipboard', err);
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user