Fixed bug
- canceled delete of domain or user disabled click for matching line
This commit is contained in:
parent
bc115c3c51
commit
520234c424
|
@ -93,9 +93,9 @@ function recreateTable(data) {
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#table-domains>tbody>tr').click(function() {
|
$('#table-domains>tbody>tr>td:not(:last-child)').click(function() {
|
||||||
var id = $(this).children('td').first().text();
|
var id = $(this).parent().children('td').first().text();
|
||||||
var type = $(this).children('td').eq(2).text();
|
var type = $(this).parent().children('td').eq(2).text();
|
||||||
|
|
||||||
if(type == 'MASTER') {
|
if(type == 'MASTER') {
|
||||||
location.assign('edit-master.php#' + id);
|
location.assign('edit-master.php#' + id);
|
||||||
|
|
|
@ -92,8 +92,8 @@ function recreateTable(data) {
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#table-users>tbody>tr').click(function() {
|
$('#table-users>tbody>tr>td:not(:last-child)').click(function() {
|
||||||
var id = $(this).children('td').first().text();
|
var id = $(this).parent().children('td').first().text();
|
||||||
location.assign('edit-user.php#' + id);
|
location.assign('edit-user.php#' + id);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue