From 5814a7f5e15ca3a180f58122694bdf61ec595fe1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Magnus=20K=C3=BChn?= Date: Thu, 28 Jun 2012 15:02:30 +0200 Subject: [PATCH] Made wcfPages-Widget like PagesFunctionTemplatePlugin. --- wcfsetup/install/files/js/WCF.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 3076ffce81..59aa823d2f 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -6654,10 +6654,12 @@ $.widget('ui.wcfPages', { $previousLink.append($previousImage); } else { - var $previousImage = $(''); + var $previousImage = $(''); $previousElement.append($previousImage); $previousElement.addClass('disabled'); + $previousImage.addClass('disabled'); } + $previousImage.addClass('icon16'); // add first page $pageList.append(this._renderLink(1)); @@ -6795,10 +6797,12 @@ $.widget('ui.wcfPages', { $nextLink.append($nextImage); } else { - var $nextImage = $(''); + var $nextImage = $(''); $nextElement.append($nextImage); $nextElement.addClass('disabled'); + $nextImage.addClass('disabled'); } + $nextImage.addClass('icon16'); } else { // otherwise hide the paginator if not already hidden -- 2.20.1