changeset 1474:6f73aa2f9d11

toggleRegions now returns visibility state
author hertzhaft
date Sat, 16 Jan 2016 19:24:45 +0100
parents ec3c18079511
children e8a58276ec5a
files webapp/src/main/webapp/jquery/jquery.digilib.regions.js
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/webapp/src/main/webapp/jquery/jquery.digilib.regions.js	Sat Jan 09 21:32:29 2016 +0100
+++ b/webapp/src/main/webapp/jquery/jquery.digilib.regions.js	Sat Jan 16 19:24:45 2016 +0100
@@ -231,6 +231,7 @@
             data.settings.isRegionVisible = show;
             fn.highlightButtons(data, 'regions', show);
             renderRegions(data, 1);
+            return show;
         },
 
         // display region coordinates in a selected edit line (for copying)