equal
deleted
inserted
replaced
317 var userinput = obj.previousSibling.previousSibling.value; |
317 var userinput = obj.previousSibling.previousSibling.value; |
318 userinput = parseInt(userinput); |
318 userinput = parseInt(userinput); |
319 var offset = ( userinput - 1 ) * perpage; |
319 var offset = ( userinput - 1 ) * perpage; |
320 if ( userinput > max || isNaN(userinput) || userinput < 1 ) |
320 if ( userinput > max || isNaN(userinput) || userinput < 1 ) |
321 { |
321 { |
322 new messagebox(MB_OK|MB_ICONSTOP, $lang.get('paginate_err_bad_page_title'), $lang.get('paginate_err_bad_page_body', { max: max })); |
322 new MessageBox(MB_OK|MB_ICONSTOP, $lang.get('paginate_err_bad_page_title'), $lang.get('paginate_err_bad_page_body', { max: max })); |
323 return false; |
323 return false; |
324 } |
324 } |
325 if ( typeof(formatstring) == 'object' ) |
325 if ( typeof(formatstring) == 'object' ) |
326 { |
326 { |
327 fly_out_top(obj.parentNode, false, true); |
327 fly_out_top(obj.parentNode, false, true); |