Lines 40-45
$(document).ready(function(){
Link Here
|
40 |
/* Inline edit/delete links */ |
40 |
/* Inline edit/delete links */ |
41 |
$("td").click(function(event){ |
41 |
$("td").click(function(event){ |
42 |
var $tgt = $(event.target); |
42 |
var $tgt = $(event.target); |
|
|
43 |
var row = $(this).parent(); |
43 |
$(".linktools").hide(); |
44 |
$(".linktools").hide(); |
44 |
$("tr").removeClass("selected"); |
45 |
$("tr").removeClass("selected"); |
45 |
if($tgt.is("a")||$tgt.is(":nth-child(7)")||$tgt.is(":nth-child(8)")||$tgt.is(":nth-child(9)")||$tgt.is(":nth-child(10)")){ |
46 |
if($tgt.is("a")||$tgt.is(":nth-child(7)")||$tgt.is(":nth-child(8)")||$tgt.is(":nth-child(9)")||$tgt.is(":nth-child(10)")){ |
Lines 50-56
$(document).ready(function(){
Link Here
|
50 |
var left = position.left+5; |
51 |
var left = position.left+5; |
51 |
$(".linktools",row).show().css("position","absolute").css("top",top).css("left",left); |
52 |
$(".linktools",row).show().css("position","absolute").css("top",top).css("left",left); |
52 |
} |
53 |
} |
53 |
var row = $(this).parent(); |
|
|
54 |
row.addClass("selected"); |
54 |
row.addClass("selected"); |
55 |
}); |
55 |
}); |
56 |
$("form[name='f']").submit(function(){ |
56 |
$("form[name='f']").submit(function(){ |
57 |
- |
|
|