From 9fd784046f9d774a818de1f52da4cdd95cd68de9 Mon Sep 17 00:00:00 2001 From: konradSC Date: Sat, 27 Apr 2019 11:50:18 -0400 Subject: [PATCH] Bug Fix: Paging Controls in the wrong place (#4056) * Bug Fix: Paging Controls in the wrong place Same fix as the one for the call recordings page. You couldn't type in a page number and press enter. * Update dialplans.php --- app/dialplans/dialplans.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/app/dialplans/dialplans.php b/app/dialplans/dialplans.php index ea6e1a7d18..375b86e95d 100644 --- a/app/dialplans/dialplans.php +++ b/app/dialplans/dialplans.php @@ -397,8 +397,8 @@ echo "\n"; echo " \n"; echo " \n"; - echo " \n"; - echo " \n"; + echo " \n"; + echo " \n"; echo "
 ".$paging_controls."  "; if ($app_uuid == "c03b422e-13a8-bd1b-e42b-b6b9b4d27ce4" && permission_exists('inbound_route_add')) { echo "$v_link_label_add"; @@ -423,11 +423,15 @@ echo "
\n"; echo "\n"; echo "\n"; - echo ""; - echo "

"; echo ""; + if (strlen($paging_controls) > 0) { + echo "
"; + echo $paging_controls."\n"; + } + echo "

"; + if (sizeof($dialplan_ids) > 0) { echo "