mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Fixed broken log copy (#87)
This commit is contained in:
parent
da24040193
commit
d52e744152
@ -945,7 +945,7 @@ class sql_db
|
||||
<table width="98%" cellpadding="0" cellspacing="0" class="bodyline row2 bCenter" style="border-bottom: 0px;">
|
||||
<tr>
|
||||
<th style="height: 22px; cursor: pointer;" align="left"> '. $dbg['src'] .' ['. sprintf('%.4f', $dbg['time']) .' s] <i>'. $dbg['info'] .'</i></th>
|
||||
<th style="height: 22px; cursor: pointer;" align="right" title="Copy to clipboard" onclick="$.copyToClipboard( $(\'#'. $htid .'\').text() );">'. "$this->db_server.$this->selected_db" .' :: Query #'. ($this->num_queries+1) .' </th>
|
||||
<th style="height: 22px; cursor: pointer;" align="right" title="Copy to clipboard" onclick="$(\'#'. $htid .'\').CopyToClipboard();">'. "$this->db_server.$this->selected_db" .' :: Query #'. ($this->num_queries+1) .' </th>
|
||||
</tr>
|
||||
<tr><td colspan="2">'. $this->explain_hold .'</td></tr>
|
||||
</table>
|
||||
|
@ -54,7 +54,7 @@ function get_sql_log_html ($db_obj, $log_name)
|
||||
$log .= ''
|
||||
. '<div class="sqlLogRow" title="'. $info .'">'
|
||||
. '<span style="letter-spacing: -1px;">'. $time .' </span>'
|
||||
. '<span title="Copy to clipboard" onclick="$.copyToClipboard( $(\'#'. $id .'\').text() );" style="color: gray; letter-spacing: -1px;">'. $perc .'</span>'
|
||||
. '<span title="Copy to clipboard" onclick="$(\'#'. $id .'\').CopyToClipboard();" style="color: gray; letter-spacing: -1px;">'. $perc .'</span>'
|
||||
. ' '
|
||||
. '<span style="letter-spacing: 0px;" id="'. $id .'">'. $sql .'</span>'
|
||||
. '<span style="color: gray"> # '. $info .' </span>'
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user