LP#1668314 - Webstaff make marcEditor's flateditor checkbox sticky
authorCesar Velez <cesar.velez@equinoxinitiative.org>
Thu, 29 Jun 2017 17:27:40 +0000 (13:27 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 18 Aug 2017 12:02:50 +0000 (08:02 -0400)
commit9da73fbfadf13316177ad599072864baeae7a70d
tree15040b26424ec93d36190b33b5d818db529691d3
parent5640a781829ea40d97e4149e38f537b9c784e105
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>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/cat/share/t_marcedit.tt2
Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js