Skip to content

Commit

Permalink
HTML Setup: Change SG Dir Editor 'Delete' action from link to button
Browse files Browse the repository at this point in the history
  • Loading branch information
cpinkham committed Mar 29, 2011
1 parent 6dbb229 commit f578640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/html/setup/js/storagegroups.js
Expand Up @@ -8,7 +8,7 @@ function appendTabRow(tabID, id, group, host, dir) {
if ((rowNum/2) % 1 == 0)
altText = "class='alt' ";
var rowID = "sgtable-" + tabID + "-" + rowNum;
$("#sgtable-" + tabID + " tr:last").after("<tr " + altText + "id='" + rowID + "'><td class='invisible'>" + id +"</td><td>" + host + "</td><td>" + dir + "</td><td><a href=\"javascript:removeStorageGroupTableRow(" + tabID + ", '" + rowID + "')\">Delete</a></tr>");
$("#sgtable-" + tabID + " tr:last").after("<tr " + altText + "id='" + rowID + "'><td class='invisible'>" + id +"</td><td>" + host + "</td><td>" + dir + "</td><td><input type='button' onClick=\"javascript:removeStorageGroupTableRow(" + tabID + ", '" + rowID + "')\" value='Delete'/></tr>");
}

function initStorageGroups() {
Expand Down

0 comments on commit f578640

Please sign in to comment.