|
Lines 6-11
$(document).ready(function(){
Link Here
|
| 6 |
$.get("/cgi-bin/koha/authorities/detail.pl", { authid : authid }, function( data ){ |
6 |
$.get("/cgi-bin/koha/authorities/detail.pl", { authid : authid }, function( data ){ |
| 7 |
var auth_detail = $(data).find("#authoritiestabs"); |
7 |
var auth_detail = $(data).find("#authoritiestabs"); |
| 8 |
auth_detail.find("ul").remove(); |
8 |
auth_detail.find("ul").remove(); |
|
|
9 |
auth_detail.removeClass("toptabs"); |
| 10 |
auth_detail.find("> div").removeClass("tab-content"); |
| 11 |
auth_detail.find("> div > div").removeClass("tab-pane").removeAttr("role"); |
| 9 |
$("#authorityDetail .modal-title").html(__("Authority") + " " + authid ); |
12 |
$("#authorityDetail .modal-title").html(__("Authority") + " " + authid ); |
| 10 |
$("#authorityDetail .modal-body").html( auth_detail ); |
13 |
$("#authorityDetail .modal-body").html( auth_detail ); |
| 11 |
}); |
14 |
}); |
| 12 |
- |
|
|