Fixed bug

- canceled delete of domain or user disabled click for matching line
This commit is contained in:
Lukas Metzger 2016-01-25 18:37:35 +01:00
parent bc115c3c51
commit 520234c424
2 changed files with 5 additions and 5 deletions

View file

@ -93,9 +93,9 @@ function recreateTable(data) {
});
$('#table-domains>tbody>tr').click(function() {
var id = $(this).children('td').first().text();
var type = $(this).children('td').eq(2).text();
$('#table-domains>tbody>tr>td:not(:last-child)').click(function() {
var id = $(this).parent().children('td').first().text();
var type = $(this).parent().children('td').eq(2).text();
if(type == 'MASTER') {
location.assign('edit-master.php#' + id);

View file

@ -92,8 +92,8 @@ function recreateTable(data) {
});
$('#table-users>tbody>tr').click(function() {
var id = $(this).children('td').first().text();
$('#table-users>tbody>tr>td:not(:last-child)').click(function() {
var id = $(this).parent().children('td').first().text();
location.assign('edit-user.php#' + id);
});