equal
deleted
inserted
replaced
320 var userinput = obj.previousSibling.previousSibling.value; |
320 var userinput = obj.previousSibling.previousSibling.value; |
321 userinput = parseInt(userinput); |
321 userinput = parseInt(userinput); |
322 var offset = ( userinput - 1 ) * perpage; |
322 var offset = ( userinput - 1 ) * perpage; |
323 if ( userinput > max || isNaN(userinput) || userinput < 1 ) |
323 if ( userinput > max || isNaN(userinput) || userinput < 1 ) |
324 { |
324 { |
|
325 load_component(['messagebox', 'fadefilter', 'flyin']); |
325 new MessageBox(MB_OK|MB_ICONSTOP, $lang.get('paginate_err_bad_page_title'), $lang.get('paginate_err_bad_page_body', { max: max })); |
326 new MessageBox(MB_OK|MB_ICONSTOP, $lang.get('paginate_err_bad_page_title'), $lang.get('paginate_err_bad_page_body', { max: max })); |
326 return false; |
327 return false; |
327 } |
328 } |
328 if ( typeof(formatstring) == 'object' ) |
329 if ( typeof(formatstring) == 'object' ) |
329 { |
330 { |