Adds missing JavaScript code to delete user ranks
authorMatthias Schmidt <gravatronics@live.com>
Sat, 27 Jul 2013 16:30:42 +0000 (18:30 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 27 Jul 2013 16:30:42 +0000 (18:30 +0200)
wcfsetup/install/files/acp/templates/userRankList.tpl

index adbdfc3d62b58d5e0cfb214f480764ba5f9e58a3..378acc532274f9f639cb4f031765e69884c79e2c 100644 (file)
@@ -1,5 +1,13 @@
 {include file='header' pageTitle='wcf.acp.user.rank.list'}
 
+<script>
+       //<![CDATA[
+       $(function() {
+               new WCF.Action.Delete('wcf\\data\\user\\rank\\UserRankAction', '.jsUserRankRow');
+       });
+       //]]>
+</script>
+
 <header class="boxHeadline">
        <h1>{lang}wcf.acp.user.rank.list{/lang}</h1>
 </header>