| Lines 6-11
          
      
      
        Link Here | 
        
          | 6 | <title>Koha › Patron search</title> | 6 | <title>Koha › Patron search</title> | 
        
          | 7 | [% INCLUDE 'doc-head-close.inc' %] | 7 | [% INCLUDE 'doc-head-close.inc' %] | 
        
          | 8 | [% Asset.css("css/datatables.css") %] | 8 | [% Asset.css("css/datatables.css") %] | 
            
              |  |  | 9 | <style> .modal-body .close { display: none; } </style> | 
        
          | 9 | </head> | 10 | </head> | 
        
          | 10 |  | 11 |  | 
        
          | 11 | <body id="common_patron_search" class="common"> | 12 | <body id="common_patron_search" class="common"> | 
  
    | Lines 88-93
          
      
      
        Link Here | 
        
          | 88 |  | 89 |  | 
        
          | 89 | <div id="closewindow"><a href="#" class="btn btn-default btn-default close">Close</a></div> | 90 | <div id="closewindow"><a href="#" class="btn btn-default btn-default close">Close</a></div> | 
        
          | 90 |  | 91 |  | 
            
              |  |  | 92 | <!-- Patron preview modal --> | 
            
              | 93 | <div class="modal" id="patronPreview" tabindex="-1" role="dialog" aria-labelledby="patronPreviewLabel"> | 
            
              | 94 |     <div class="modal-dialog" role="document"> | 
            
              | 95 |         <div class="modal-content"> | 
            
              | 96 |             <div class="modal-header"> | 
            
              | 97 |                 <button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> | 
            
              | 98 |                 <h4 class="modal-title" id="patronPreviewLabel"></h4> | 
            
              | 99 |             </div> | 
            
              | 100 |             <div class="modal-body"> | 
            
              | 101 |                 <div id="loading"> | 
            
              | 102 |                     <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading | 
            
              | 103 |                 </div> | 
            
              | 104 |             </div> | 
            
              | 105 |             <div class="modal-footer"> | 
            
              | 106 |                 <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> | 
            
              | 107 |             </div> | 
            
              | 108 |         </div> | 
            
              | 109 |     </div> | 
            
              | 110 | </div> | 
            
              | 111 |  | 
            
              | 112 | </div> | 
            
              | 113 | </div> | 
            
              | 114 |  | 
        
          | 91 | [% MACRO jsinclude BLOCK %] | 115 | [% MACRO jsinclude BLOCK %] | 
        
          | 92 |     [% INCLUDE 'datatables.inc' %] | 116 |     [% INCLUDE 'datatables.inc' %] | 
        
          | 93 |  | 117 |  | 
  
    | Lines 199-204
          
      
      
        Link Here | 
        
          | 199 |                 select_user( borrowernumber, JSON.parse(borrower_data) ); | 223 |                 select_user( borrowernumber, JSON.parse(borrower_data) ); | 
        
          | 200 |             }); | 224 |             }); | 
        
          | 201 |  | 225 |  | 
            
              |  |  | 226 |             $("body").on("click",".patron_preview", function( e ){ | 
            
              | 227 |                 e.preventDefault(); | 
            
              | 228 |                 var borrowernumber = $(this).data("borrowernumber"); | 
            
              | 229 |                 var page = "/cgi-bin/koha/members/moremember.pl?print=brief&borrowernumber=" + borrowernumber; | 
            
              | 230 |                 $("#patronPreview .modal-body").load( page + " div.container-fluid" ); | 
            
              | 231 |                 $('#patronPreview').modal({show:true}); | 
            
              | 232 |             }); | 
            
              | 233 |  | 
        
          | 202 |         }); | 234 |         }); | 
        
          | 203 |  | 235 |  | 
        
          | 204 |         function filter() { | 236 |         function filter() { |