added title attribute to action button
This commit is contained in:
@@ -103,7 +103,7 @@ class DBConn
|
||||
public function updateStatus($gid, $status = 1)
|
||||
{
|
||||
$query = $this->queryBuilder;
|
||||
$query->update('ncdownloader_info')
|
||||
$query->update($this->table)
|
||||
->set("status", $query->createNamedParameter($status))
|
||||
->where('gid = :gid')
|
||||
->setParameter('gid', $gid);
|
||||
|
||||
@@ -93,7 +93,7 @@ class ncTable {
|
||||
return;
|
||||
}
|
||||
let data = value.data || '';
|
||||
container.appendChild(this.createActionButton(value.name, value.path,data));
|
||||
container.appendChild(this.createActionButton(value.name, value.path, data));
|
||||
})
|
||||
rowItem.appendChild(container);
|
||||
row.appendChild(rowItem);
|
||||
@@ -132,6 +132,10 @@ class ncTable {
|
||||
button.classList.add("icon-" + name);
|
||||
button.setAttribute("path", path);
|
||||
button.setAttribute("data", data);
|
||||
if (name == 'refresh') {
|
||||
name = 'Redownload';
|
||||
}
|
||||
button.setAttribute("title", helper.ucfirst(name));
|
||||
return button;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user