wip
This commit is contained in:
1 parent
16a5249de6
commit
32e4ef9f58
1 file changed
+5
-5
@@ -78,11 +78,11 @@ class BoardDispatcher extends Component
|
|||||||
|
|
||||||
public function copyResult()
|
public function copyResult()
|
||||||
{
|
{
|
||||||
$copystring = `Line One\nLine Two\nLine Three`;
|
$copystring = '';
|
||||||
// foreach ($this->results as $row) {
|
foreach ($this->results as $row) {
|
||||||
// $copystring .= "`" . implode("\t", $row) . "\n`";
|
$copystring .= implode("\t", $row) . "\n";
|
||||||
// }
|
}
|
||||||
$this->js("navigator.clipboard.writeText(`Line One\nLine Two\nLine Three`)");
|
$this->js("navigator.clipboard.writeText(`$copystring`)");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user