wip
This commit is contained in:
1 parent
696e145b6e
commit
16a5249de6
1 file changed
+2
-2
@@ -78,11 +78,11 @@ class BoardDispatcher extends Component
|
|||||||
|
|
||||||
public function copyResult()
|
public function copyResult()
|
||||||
{
|
{
|
||||||
$copystring = shell_exec("Line One\nLine Two\nLine Three");
|
$copystring = `Line One\nLine Two\nLine Three`;
|
||||||
// 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('{$copystring}')");
|
$this->js("navigator.clipboard.writeText(`Line One\nLine Two\nLine Three`)");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user