summaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorSimon Rettberg2018-02-12 18:00:45 +0100
committerSimon Rettberg2018-02-12 18:00:45 +0100
commitd879774ad2b6cc5ce3f870eb85972245464c56b3 (patch)
tree312c9e0168b31f48b88659cf2e2b7a9732f7c353 /script
parent[permissionmanager] Tweak style, fix role filtering (and make it AND), minor ... (diff)
downloadslx-admin-d879774ad2b6cc5ce3f870eb85972245464c56b3.tar.gz
slx-admin-d879774ad2b6cc5ce3f870eb85972245464c56b3.tar.xz
slx-admin-d879774ad2b6cc5ce3f870eb85972245464c56b3.zip
slx-fixes.js/default.css: Fix disabled cursor-style
Diffstat (limited to 'script')
-rw-r--r--script/slx-fixes.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/script/slx-fixes.js b/script/slx-fixes.js
index 1ed71cb9..9cd93c05 100644
--- a/script/slx-fixes.js
+++ b/script/slx-fixes.js
@@ -41,4 +41,11 @@ if (history && history.replaceState && window && window.location && window.locat
// Simple decollapse functionality for tables
$('.slx-decollapse').click(function () {
$(this).siblings('.collapse').removeClass('collapse');
+});
+
+$('a.disabled').each(function() {
+ var $this = $(this);
+ var $hax = $('<div class="disabled-hack">');
+ $this.after($hax);
+ $hax.append($this);
}); \ No newline at end of file