Skip to content
Snippets Groups Projects
Commit 3f4fda75 authored by Brett Bieber's avatar Brett Bieber
Browse files

JS fix for when there are no invalid pages and user clicks revalidate invalid....

JS fix for when there are no invalid pages and user clicks revalidate invalid. Also validate unknown pages.
parent 72379ae3
No related branches found
No related tags found
No related merge requests found
......@@ -27,9 +27,11 @@ function validateAll()
function validateInvalid() {
//scroll to first Invalid
var falseDiv = WDN.jQuery(".false:first").offset();
if (falseDiv) {
window.scroll(0, falseDiv.top);
}
WDN.jQuery('.false .uri').each(function(){
WDN.jQuery('.false .uri, .unknown .uri').each(function(){
// Grab the URI
var uri = WDN.jQuery(this).html();
var uriDiv = WDN.jQuery(this).parent();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment