Advertisement
Guest User

koha_intranetuserjs

a guest
May 13th, 2011
148
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $('#patron_attr_3').after('&nbsp;<img src="/intranet-tmpl/prog/en/lib/calendar/cal.gif" id="patron_attr_3_button" alt="Show Calendar"><span class="required"> Required</span><div style="font-size : 95%; color : #999999;">(DD/MM/YYYY)</div>');
  2.  
  3. $('#patron_attr_3').attr({maxlength : "10"});
  4. $('#patron_attr_3').attr({onchange : "CheckDate(document.form.patron_attr_3);"});
  5.  
  6. $('#patron_attr_3_button').attr({onclick : 'Calendar.setup({ inputField : "patron_attr_3",ifFormat : "%d/%m/%Y",button : "patron_attr_3_button" });'});
  7.  
  8. $("#memberentry_patron_attributes td:contains('Clear')").hide();
  9. }
Advertisement
RAW Paste Data Copied
Advertisement