/**
* Processes the request.
*
- * @param object $page CRM_Core_Form the current form-page
- * @param string $actionName Current action name, as one Action object can serve multiple actions
+ * @param CRM_Core_Form $page the current form-page
+ * @param string $actionName Current action name, as one Action object can serve multiple actions
*
* @return void
* @access public
{if $pager and $pager->_response}
{if $pager->_response.numPages > 1}
<div class="crm-pager">
- {if ! isset($noForm) || ! $noForm}
+ {if empty($noForm)}
<span class="element-right">
{if $location eq 'top'}
{$pager->_response.titleTop} <input class="form-submit" name="{$pager->_response.buttonTop}" value="{ts}Go{/ts}" type="submit"/>
</span>
</div>
+ {if empty($noForm) and $location neq 'top'}
+ <script type="text/javascript">
+ cj('input[name^=crmPID]', '#{$form.formName}').spinner({ldelim}
+ min: 1,
+ max: {$pager->_response.numPages}
+ {rdelim});
+ </script>
+ {/if}
{/if}
{* Controller for 'Rows Per Page' *}