[Koha] intranetuserjs

Owen Leonard oleonard at myacpl.org
Fri Dec 11 13:40:44 NZDT 2009


>> $(function() {

>> $(document).ready(function(){

These two are functionally equivalent. The first is just a shortcut
for the second.

>> $(document).ready(function(){
>>       alert("hi");
>>        $("#entryform #btitle").parent().remove();
>>        $("#entryform #initials").parent().remove();
>>        $("#entryform #othernames").parent().remove();
>>        $("#entryform #streetnumber").parent().remove();
>>        $("#entryform #streettype").parent().remove();
>> });

This works fine for me if I paste it into my intranetuserjs preference
as-is. Do you have any other javascript customizations that might be
interfering?

  -- Owen

-- 
Web Developer
Athens County Public Libraries
http://www.myacpl.org


More information about the Koha mailing list