]> git.evergreen-ils.org Git - Evergreen.git/commit
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)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 21 Jul 2017 16:26:19 +0000 (12:26 -0400)
commitd42b64946a3187709e0c11d1b35288170eb6a8e7
tree17b1aaa0ab6dd1d97cb35700709d8202f3027cb1
parent3b6b6be7f55b8d4b464fe9fa79b190588d86e769
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