Fixed WCF.Action.Delete
authorAlexander Ebert <ebert@woltlab.com>
Sun, 16 Dec 2012 21:33:05 +0000 (22:33 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 16 Dec 2012 21:33:05 +0000 (22:33 +0100)
acptemplates/languageList.tpl
acptemplates/languageServerList.tpl

index cdef2dac8ab7ec05c0e1622f971de2abb40113c4..eab0115782bb009f70ffa5223a0f0a1db7d436ee 100644 (file)
@@ -3,7 +3,7 @@
 <script type="text/javascript">
        //<![CDATA[
        $(function() {
-               new WCF.Action.Delete('wcf\\data\\language\\LanguageAction', $('.jsLanguageRow'), $('#userTableContainer hgroup span.badge'));
+               new WCF.Action.Delete('wcf\\data\\language\\LanguageAction', '.jsLanguageRow');
                new WCF.Action.SimpleProxy({
                        action: 'setAsDefault',
                        className: 'wcf\\data\\language\\LanguageAction',
index 4f80cbca1bfaf7998b29ff40daa16790d112fb29..2465081251a4e5be85e9180f97a51610fe4ea2d5 100644 (file)
@@ -4,7 +4,7 @@
        //<![CDATA[
        $(function() {
                {if $__wcf->getSession()->getPermission('admin.language.canDeleteServer')}
-                       new WCF.Action.Delete('wcf\\data\\language\\server\\LanguageServerAction', $('.jsLanguageServerRow'));
+                       new WCF.Action.Delete('wcf\\data\\language\\server\\LanguageServerAction', '.jsLanguageServerRow');
                {/if}
                {if $__wcf->getSession()->getPermission('admin.language.canEditServer')}
                        new WCF.Action.Toggle('wcf\\data\\language\\server\\LanguageServerAction', $('.jsLanguageServerRow'));