Commit 8e756135 authored by Sebastian Michaelsen's avatar Sebastian Michaelsen Committed by Benni Mack
Browse files

[BUGFIX] Add missing function for workspaces module pagination

The function is the same as the one in Recycler.ts and is taken from
there. The pagination markup is the same, so it also works in the
workspaces module.

Resolves: #92978
Releases: master, 10.4
Change-Id: If2950c394741061c990f2a28218feada7d87d8fa
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66969

Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
parent 1d0b2166
......@@ -1256,4 +1256,11 @@ class Backend extends Workspaces {
}
}
/**
* Changes the markup of a pagination action being disabled
*/
$.fn.disablePagingAction = function(): void {
$(this).addClass('disabled').find('.t3-icon').unwrap().wrap($('<span />'));
};
export = new Backend();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment