/usr/share/doc/gnumed/user-manual/rsrc/System/PatternSkin/pattern.js is in gnumed-doc 1.4.6+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 | jQuery(document).ready(function($){"use strict";var searchResultsCount=0;$('.foswikiSearchResultCount span').livequery(function(){searchResultsCount+=parseInt($(this).html(),10);});if(searchResultsCount>0){$('#foswikiNumberOfResultsContainer').livequery(function(){$(this).html(' '+foswiki.getMetaTag('TEXT_NUM_TOPICS')+' <b>'+searchResultsCount+' </b>');});}
$('input.foswikiFocus').livequery(function(){$(this).focus();});$('input.foswikiChangeFormButton').livequery('click',function(){if(foswiki.Edit){foswiki.Edit.validateSuppressed=true;}});$('body.patternEditPage input').livequery('keydown',function(event){if(event.keyCode===13){return false;}});});
|