Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

WP:AFC/R isn't loading #186

Open
Technical-13 opened this issue Sep 27, 2013 · 4 comments
Open

WP:AFC/R isn't loading #186

Technical-13 opened this issue Sep 27, 2013 · 4 comments

Comments

@Technical-13
Copy link
Contributor

Okay, best I can tell the reason there is no "review" link on AFC/R is because there is no links in #p-cactions for it to add itself there...

<div id="p-cactions" role="navigation" class="vectorMenu emptyPortlet" aria-labelledby="p-cactions-label">
    <h3 id="p-cactions-label"><span>Actions</span><a href="#"></a></h3>
    <div class="menu">
        <ul>
                    </ul>
    </div>
</div>

is the source of that section of the page.

@wikipedia-mabdul
Copy link
Member

Problem is the script doesn't load... syntax error..

doing

        extra.html(extra.html() + '<label for="afcHelper_redirect_comment_' + id + '">Comment:</label>' + '<input type="text" id="afcHelper_redirect_comment_' + id + '" name="afcHelper_redirect_comment_' + id + '"/>');
    } 
Syntax error at line 250 while loading: expected expression, got keyword 'else'
    } else {
    --^
    } else {
        extra.html(extra.html() + '<label for="afcHelper_redirect_comment_' + id + '">Comment:</label>' + '<input type="text" id="afcHelper_redirect_comment_' + id + '" name="afcHelper_redirect_comment_' + id + '"/>');
    }
}

function afcHelper_redirect_performActions() {
    // Load all of the data.
    for (var i = 0; i < afcHelper_Submissions.l

@wikipedia-mabdul
Copy link
Member

fixed in 062916c

@theopolisme
Copy link
Contributor

coughs jquery conversion once again..

@wikipedia-mabdul
Copy link
Member

@theopolisme FFU is broken in develop. the review panel isn't opening (although the script loads and displaying the inline reviewing links). So something in that commits ( https://en.wikipedia.org/w/index.php?title=User%3ATheo%27s_Little_Bot%2Fafch%2Fafchelper.js%2Fffu.js&diff=574658136&oldid=574603620 ) is broken, but I don't know what exactly...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants