Refactor the "show copy notes button" functionality
authorDan Scott <dan@coffeecode.net>
Fri, 3 Jun 2011 18:48:30 +0000 (14:48 -0400)
committerJason Etheridge <jason@esilibrary.com>
Fri, 3 Jun 2011 20:01:42 +0000 (16:01 -0400)
commitb0a38aaca23e17086808f2f6bce43de095829676
tree5c4886c9f409953df30e4003a349c7754a167cae
parenta0fa6c0460274c78da3e1d2bf3db7bd566b30fe5
Refactor the "show copy notes button" functionality

Collapse the duplicated code for showing / hiding the "show copy notes
button" into a single method. Might make maintenance a bit easier some
day.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/xul/staff_client/server/cat/copy_editor.js