Bug 3013 - Value builder for 006 and 008 need choices for all format types
[koha_fer] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / z3950_search.tmpl
index 55859c7..f0b11f8 100644 (file)
@@ -38,18 +38,19 @@ $(document).ready(function(){
     }); 
         /* Inline edit/delete links */
         $("td").click(function(event){
+            var $tgt = $(event.target);
             $(".linktools").hide();
             $("tr").removeClass("selected");
+            if($tgt.is("a")||$tgt.is(":nth-child(7)")||$tgt.is(":nth-child(8)")||$tgt.is(":nth-child(9)")||$tgt.is(":nth-child(10)")){
+                return true;
+            } else {
+                var position = $(this).offset();
+                var top = position.top+5;
+                var left = position.left+5;
+                $(".linktools",row).show().css("position","absolute").css("top",top).css("left",left);
+            }
             var row = $(this).parent();
             row.addClass("selected");
-
-            var $tgt = $(event.target);
-            if($tgt.is("a")||$tgt.is(":nth-child(7)")||$tgt.is(":nth-child(8)")||$tgt.is(":nth-child(9)")||$tgt.is(":nth-child(10)")){ return true; } else {
-            var position = $(this).offset();
-            var top = position.top+5;
-            var left = position.left+5;
-            $(".linktools",row).show().css("position","absolute").css("top",top).css("left",left);
-            }
         });
 });