# HG changeset patch # User robcast # Date 1331137552 -3600 # Node ID 70efd928a6465c92c06418bce35b2faca490677e # Parent db424e90c908655c2fd910033b98bf61ca7758d8 allow predefined and user regions at the same time. hasRegionContent is now processHtmlRegions. new separate option processUserRegions. diff -r db424e90c908 -r 70efd928a646 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('