wvulibraries / mfcs

Archival and Preservation Digital Asset Management System.
Other
8 stars 4 forks source link

"Jump" tools don't work on listing page in firefox #211

Closed MichaelRBond closed 8 years ago

MichaelRBond commented 8 years ago

The Jump to page, jump to IDNO, and number of objects per page don't work in firefox.

They do work in Chrome.

ddavisgraphics commented 8 years ago

This is fixed. Many of the event functions for that page were called like

function handler_jumpToPage(){
   event.preventDefault(); 
}

firefox is more picky on the JS that goes into functions if there is no event declared in the function it doesn't propagate one from the document ready as chrome does. To make the functions correct simply added an event as a parameter to the functions.

function handler_jumpToPage(event){
   event.preventDefault(); 
}