[Koha-bugs] [Bug 12893] 'Clear date' links on start and expiration hold date in staff not working

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Oct 5 03:27:30 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12893

Nick Clemens <nick at quecheelibrary.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31685|0                           |1
        is obsolete|                            |

--- Comment #3 from Nick Clemens <nick at quecheelibrary.org> ---
Created attachment 31996
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31996&action=edit
[SIGNED OFF] Bug 12893 - 'Clear date' links on start and expiration hold date
in staff not working

I introduced this bug with my patch for Bug 8181. In changing the way
the date picker widgets worked I changed the ID the "clear date"
javascript was looking for, so it stopped working.

This patch corrects it and improves the JavaScript by moving it out of
the HTML markup.

This patch also makes some minor HTML validity corrections: escaping
ampersands and removing a "size" attribute from a hidden form field.

To test, you should have the AllowHoldDateInFuture system preference
enabled. Place a hold in the staff client for a patron and confirm that
you can choose a "hold starts on" date and a "hold expires on" date and
that the respective "clear date" links work correctly for each one.

Signed-off-by: Nick Clemens <nick at quecheelibrary.org>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list