[Koha] Cleaning up Patron Details
BRANNON, CHRISTOPHER
CBRANNON at cdalibrary.org
Wed Sep 19 02:39:05 NZST 2012
Sending this out again as some extra character were added where tabs should have been in the code:
Clean up patron details screen
* Developer: Christopher Brannon (Coeur d'Alene Public Library)
* Purpose: Remove unused lines in the Alternate address or Alternative contact sections of the Patron Details screen.
* Status: Completed
* Intranet or OPAC?: Intranet
* Version: Any
//Condense Patron Display
$("#patron-alternate-address,#patron-alternative-contact").find("li").hide();
$("#patron-alternate-address li,#patron-alternative-contact li")
.contents()
.filter(function() {
return this.nodeType == Node.TEXT_NODE;
}).wrap("<span class='availablecontent'/>");
$("#patron-alternate-address,#patron-alternative-contact").find(".availablecontent").each(function() {
$(this).parent("li").show();
});
//end Condense Patron Display
___________________________
Christopher Brannon
IT Coordinator
Coeur d'Alene Public Library
702 E Front Ave
Coeur d'Alene, ID 83814
(208)769-2315 Ext. 456
cbrannon at cdalibrary.org
www.cdalibrary.org
More information about the Koha
mailing list