category_privacy_js

NAML documentation   Watch a video
Error Found
An error was found in the NAML code of this application – View Details | Go to NAML Editor
no macro found to override
  in (custom_tweak:adbayes_script:1) - <override_macro name="adbayes_script" parameters="params" requires="ad, servlet">
   Usages of this macro
... in view_category.naml
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<macro name="category_privacy_js">
    <script type="text/javascript">
        var url = '/template/NamlServlet.jtp?macro=category_ajax&node=<n.root_node
Binary
Namespace: NabbleNamespace
Parameters: do
.id
Binary
Namespace: NodeNamespace
/>';
        $(document).ready(function() {
            function showPrivateRows() {
                $('tr.private').each(function() {
                    var nodeId = $(this).attr('node');
                    url += '&node=' + nodeId;
                });
                $.getScript(url);
            }
            if (Nabble.userId)
                showPrivateRows();
        });
    </script>
</macro>