Commit ef083da0 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Add classes to resume composite edit/delete links


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 5fd7ab28
......@@ -702,10 +702,10 @@ EOF;
$js .= <<<EOF
function (r) {
return TD(null, A({'href': 'editcomposite.php?id=' + r.id + '&artefact=' + r.artefact}, '{$editstr}'));
return TD(null, A({'href': 'editcomposite.php?id=' + r.id + '&artefact=' + r.artefact, 'class': 'btn-edit'}, '{$editstr}'));
},
function (r, d) {
var link = A({'href': ''}, '{$delstr}');
var link = A({'href': '', 'class': 'btn-del'}, '{$delstr}');
connect(link, 'onclick', function (e) {
e.stop();
return deleteComposite(d.type, r.id, r.artefact);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment