# HG changeset patch # User hertzhaft # Date 1300049429 -3600 # Node ID 29f214f596542dbe810830f6af228c001fc600e8 # Parent d46706f0eedefceffddb917c1b871b69ced922ce copy more region attributes diff -r d46706f0eede -r 29f214f59654 client/digitallibrary/jquery/jquery.digilib.regions.js --- a/client/digitallibrary/jquery/jquery.digilib.regions.js Sun Mar 13 18:50:38 2011 +0100 +++ b/client/digitallibrary/jquery/jquery.digilib.regions.js Sun Mar 13 21:50:29 2011 +0100 @@ -262,20 +262,22 @@ }; // add a region to data.$elem - var addRegionDiv = function (data, index, url) { + var addRegionDiv = function (data, index, attributes) { var nr = index + 1; // we count regions from 1 // create a digilib URL for this detail - url = url || getRegionUrl(data, index); + var url = attributes.href || getRegionUrl(data, index); var $regionDiv = $('