LP#1668314 - Webstaff make marcEditor's flateditor checkbox sticky user/stompro/lp1668314-webstaff_make_marc_flatEditor_checkbox_sticky_signoff
authorCesar Velez <cesar.velez@equinoxinitiative.org>
Thu, 29 Jun 2017 17:27:40 +0000 (13:27 -0400)
committerJosh Stompro <stomproj@larl.org>
Thu, 20 Jul 2017 14:12:38 +0000 (09:12 -0500)
commitc99fc65f5df1b89ec1331a6246ed5c1d4d821e57
treeff9ba46dd7660bf623872f736679fe7fab96b642
parentb287eedbf97e5ed0aa85c52cf194e826a80f4012
LP#1668314 - Webstaff make marcEditor's flateditor checkbox sticky

Just followed the same pattern of using $watch and localstorage
to store a boolean for FlatEditor checkbox. Made $scope.flatEditor
be an object wrapping an isEnabled :bool to avoid *future* ng-if
parent scope issues that could (potentially) occur.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>

Signed-off-by: Josh Stompro <stomproj@larl.org>
Open-ILS/src/templates/staff/cat/share/t_marcedit.tt2
Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js