# HG changeset patch # User hertzhaft # Date 1452968685 -3600 # Node ID 6f73aa2f9d1108206ab8041d51cbad8ad9e339ac # Parent ec3c1807951180f5b3ac4895ad6acaf7d0b84dec toggleRegions now returns visibility state diff -r ec3c18079511 -r 6f73aa2f9d11 webapp/src/main/webapp/jquery/jquery.digilib.regions.js --- 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)