| 
      
            Lines 370-434
          
      
      
        Link Here
      
     | 
  
        
          | 370 | 
                      [% END # / TagsInputEnabled && loggedinusername %]  | 
          370 | 
                      [% END # / TagsInputEnabled && loggedinusername %]  | 
        
        
          | 371 | 
           | 
          371 | 
           | 
        
        
          | 372 | 
                      $(document).ready(function(){ | 
          372 | 
                      $(document).ready(function(){ | 
        
          
            
              | 373 | 
                              $(".brief").click(function(){ | 
              373 | 
                              $(".brief").click(function(e){ | 
            
            
               | 
               | 
              374 | 
                                  e.preventDefault();  | 
            
        
          | 374 | 
                              showLess();  | 
          375 | 
                              showLess();  | 
        
            
              | 375 | 
                                  return false;  | 
               | 
               | 
            
        
          | 376 | 
                          });  | 
          376 | 
                          });  | 
        
        
          | 377 | 
           | 
          377 | 
           | 
        
          
            
              | 378 | 
                              $(".detail").click(function(){ | 
              378 | 
                              $(".detail").click(function(e){ | 
            
            
               | 
               | 
              379 | 
                                  e.preventDefault();  | 
            
        
          | 379 | 
                              showMore();  | 
          380 | 
                              showMore();  | 
        
            
              | 380 | 
                                  return false;  | 
               | 
               | 
            
        
          | 381 | 
                          });  | 
          381 | 
                          });  | 
        
        
          | 382 | 
           | 
          382 | 
           | 
        
          
            
              | 383 | 
                              $(".send").click(function(){ | 
              383 | 
                              $(".send").click(function(e){ | 
            
            
               | 
               | 
              384 | 
                                  e.preventDefault();  | 
            
        
          | 384 | 
                              sendBasket();  | 
          385 | 
                              sendBasket();  | 
        
            
              | 385 | 
                                  return false;  | 
               | 
               | 
            
        
          | 386 | 
                          });  | 
          386 | 
                          });  | 
        
        
          | 387 | 
           | 
          387 | 
           | 
        
          
            
              | 388 | 
                              $(".download").click(function(){ | 
              388 | 
                              $(".download").click(function(e){ | 
            
            
               | 
               | 
              389 | 
                                  e.preventDefault();  | 
            
        
          | 389 | 
                              downloadBasket();  | 
          390 | 
                              downloadBasket();  | 
        
            
              | 390 | 
                                  return false;  | 
               | 
               | 
            
        
          | 391 | 
                          });  | 
          391 | 
                          });  | 
        
        
          | 392 | 
           | 
          392 | 
           | 
        
          
            
              | 393 | 
                              $(".print-large").click(function(){ | 
              393 | 
                              $(".print-large").click(function(e){ | 
            
        
          | 394 | 
                              e.preventDefault();  | 
          394 | 
                              e.preventDefault();  | 
        
        
          | 395 | 
                              printBasket();  | 
          395 | 
                              printBasket();  | 
        
            
              | 396 | 
                                  return false;  | 
               | 
               | 
            
        
          | 397 | 
                          });  | 
          396 | 
                          });  | 
        
        
          | 398 | 
           | 
          397 | 
           | 
        
          
            
              | 399 | 
                              $(".empty").click(function(){ | 
              398 | 
                              $(".empty").click(function(e){ | 
            
            
               | 
               | 
              399 | 
                                  e.preventDefault();  | 
            
        
          | 400 | 
                              delBasket();  | 
          400 | 
                              delBasket();  | 
        
            
              | 401 | 
                                  return false;  | 
               | 
               | 
            
        
          | 402 | 
                          });  | 
          401 | 
                          });  | 
        
        
          | 403 | 
           | 
          402 | 
           | 
        
          
            
              | 404 | 
                              $(".deleteshelf").click(function(){ | 
              403 | 
                              $(".deleteshelf").click(function(e){ | 
            
            
               | 
               | 
              404 | 
                                  e.preventDefault();  | 
            
        
          | 405 | 
                              delSelRecords();  | 
          405 | 
                              delSelRecords();  | 
        
            
              | 406 | 
                                  return false;  | 
               | 
               | 
            
        
          | 407 | 
                          });  | 
          406 | 
                          });  | 
        
        
          | 408 | 
           | 
          407 | 
           | 
        
          
            
              | 409 | 
                              $(".newshelf").click(function(){ | 
              408 | 
                              $(".newshelf").click(function(e){ | 
            
            
               | 
               | 
              409 | 
                                  e.preventDefault();  | 
            
        
          | 410 | 
                              addSelToShelf();  | 
          410 | 
                              addSelToShelf();  | 
        
            
              | 411 | 
                                  return false;  | 
               | 
               | 
            
        
          | 412 | 
                          });  | 
          411 | 
                          });  | 
        
        
          | 413 | 
           | 
          412 | 
           | 
        
          
            
              | 414 | 
                              $(".hold").click(function(){ | 
              413 | 
                              $(".hold").click(function(e){ | 
            
            
               | 
               | 
              414 | 
                                  e.preventDefault();  | 
            
        
          | 415 | 
                              holdSel();  | 
          415 | 
                              holdSel();  | 
        
            
              | 416 | 
                                  return false;  | 
               | 
               | 
            
        
          | 417 | 
                          });  | 
          416 | 
                          });  | 
        
        
          | 418 | 
           | 
          417 | 
           | 
        
          
            
              | 419 | 
                              $("#tagsel_tag").click(function(){ | 
              418 | 
                              $("#tagsel_tag").click(function(e){ | 
            
            
               | 
               | 
              419 | 
                                  e.preventDefault();  | 
            
        
          | 420 | 
                              tagSelected();  | 
          420 | 
                              tagSelected();  | 
        
            
              | 421 | 
                                  return false;  | 
               | 
               | 
            
        
          | 422 | 
                          });  | 
          421 | 
                          });  | 
        
        
          | 423 | 
           | 
          422 | 
           | 
        
          
            
              | 424 | 
                              $("#tagsel_button").click(function(){ | 
              423 | 
                              $("#tagsel_button").click(function(e){ | 
            
            
               | 
               | 
              424 | 
                                  e.preventDefault();  | 
            
        
          | 425 | 
                              tagAdded();  | 
          425 | 
                              tagAdded();  | 
        
            
              | 426 | 
                                  return false;  | 
               | 
               | 
            
        
          | 427 | 
                          });  | 
          426 | 
                          });  | 
        
        
          | 428 | 
           | 
          427 | 
           | 
        
          
            
              | 429 | 
                              $("#tagsel_cancel").click(function(){ | 
              428 | 
                              $("#tagsel_cancel").click(function(e){ | 
            
            
               | 
               | 
              429 | 
                                  e.preventDefault();  | 
            
        
          | 430 | 
                              tagCanceled();  | 
          430 | 
                              tagCanceled();  | 
        
            
              | 431 | 
                                  return false;  | 
               | 
               | 
            
        
          | 432 | 
                          });  | 
          431 | 
                          });  | 
        
        
          | 433 | 
           | 
          432 | 
           | 
        
        
          | 434 | 
                          $("#CheckAll").click(function(){ | 
          433 | 
                          $("#CheckAll").click(function(){ | 
        
  
    | 
      
            Lines 468-476
          
      
      
        Link Here
      
     | 
  
        
          | 468 | 
                          }));  | 
          467 | 
                          }));  | 
        
        
          | 469 | 
           | 
          468 | 
           | 
        
        
          | 470 | 
                          $(".cb").change(function(){ | 
          469 | 
                          $(".cb").change(function(){ | 
        
          
            
              | 471 | 
                                  if ($(this).prop("checked")){ | 
              470 | 
                                  selRecord( $(this).val(), $(this).prop("checked") ); | 
            
            
              | 472 | 
                                      selRecord($(this).val(), true);  | 
               | 
               | 
            
            
              | 473 | 
                                  }  | 
            
        
          | 474 | 
                              enableCheckboxActions();  | 
          471 | 
                              enableCheckboxActions();  | 
        
        
          | 475 | 
                              return false;  | 
          472 | 
                              return false;  | 
        
        
          | 476 | 
                          });  | 
          473 | 
                          });  | 
        
            
              | 477 | 
              -   | 
               | 
               |