Aleksander Machniak
2013-03-01 f5584cbfeb098fbf26f57c74fa36464a634e2397
Fixed ACL edition in advanced mode
3 files modified
9 ■■■■■ changed files
plugins/acl/acl.js 2 ●●● patch | view | raw | blame | history
plugins/acl/acl.php 3 ●●●● patch | view | raw | blame | history
plugins/acl/package.xml 4 ●●●● patch | view | raw | blame | history
plugins/acl/acl.js
@@ -302,7 +302,7 @@
        li_elements.map(function() {
            val = this.value;
            td = $('td.'+this.id, row);
            if (td && td.hasClass('enabled'))
            if (td.length && td.hasClass('enabled'))
                this.checked = true;
        });
plugins/acl/acl.php
@@ -233,7 +233,8 @@
        // Advanced rights
        $attrib['id'] = 'advancedrights';
        foreach ($supported as $idx => $val) {
        foreach ($supported as $key => $val) {
            $id = "acl$val";
            $ul .= html::tag('li', null,
                $input->show('', array(
                    'name' => "acl[$val]", 'value' => $val, 'id' => $id))
plugins/acl/package.xml
@@ -13,9 +13,9 @@
        <email>alec@alec.pl</email>
        <active>yes</active>
    </lead>
    <date>2013-01-29</date>
    <date>2013-03-01</date>
    <version>
        <release>1.1</release>
        <release>1.2</release>
        <api>0.7</api>
    </version>
    <stability>