# HG changeset patch # User robcast # Date 1331137552 -3600 # Node ID ff19b9e936d30e11f033ca801a76c03f2b153932 # Parent c75858ee44523a2ae0c546a51a3e16a610794476 allow predefined and user regions at the same time. hasRegionContent is now processHtmlRegions. new separate option processUserRegions. diff -r c75858ee4452 -r ff19b9e936d3 webapp/src/main/webapp/jquery/jquery.digilib.regions.js --- a/webapp/src/main/webapp/jquery/jquery.digilib.regions.js Tue Mar 06 23:53:22 2012 +0100 +++ b/webapp/src/main/webapp/jquery/jquery.digilib.regions.js Wed Mar 07 17:25:52 2012 +0100 @@ -52,7 +52,9 @@ // is window with region HTML shown? 'showRegionInfo' : false, // is there region content in the page? - 'hasRegionContent' : false, + 'processHtmlRegions' : false, + // region defined by users and in the URL + 'processUserRegions' : true, // turn any region into a clickable link to its detail view 'autoZoomRegionLinks' : false, // use full region as klickable link (instead of only number and text) @@ -217,16 +219,16 @@ var regionInfoHTML = function (data) { var cssPrefix = data.settings.cssPrefix; var $infoDiv = $('
'); - $infoDiv.append($('').text('