View Issue Details

IDProjectCategoryView StatusLast Update
0003530AJAX/JSBug Report - Interfacepublic2022-05-28 12:02
Reporteribzotaku Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformChromeOSWindowsOS Version7 and 10
Summary0003530: Rating a group release without selecting a score from dropdown causes a JS console error
DescriptionBasically the Summary. Here's the complete JS console error text:

global.js:1960 Uncaught TypeError: Cannot use 'in' operator to search for 'eid' in
    <body id="anidb" class="nonav agvote">
        <div id="layout-main">
            <h1 class="agvote">Anime/Group Rating</h1>
            <div class="g_content agvote_all">
        <a href="/perl-bin/animedb.pl?show=vmkjzotqvgudkmwb" style="display:none;">Download (Do NOT click!)</a>
<div class="g_section agvote_cast">
    <h4>Sonny Boy - Tenrai-Sensei</h4>
    <form id="popup_form" action="/perl-bin/animedb.pl" method="post">
        


            <fieldset>
                <input type="hidden" name="show" value="agvote"/>
                <input type="hidden" name="nonav" value="1"/>
                <input type="hidden" name="id" value="174357"/>
            </fieldset>
    <select name="ag.vote" class="vote" data-placeholder="rate it" size="1">
        <option class="hide placeholder" disabled="1" value="-1" selected="selected">rate it</option><option value="100">1 (lowest)</option><option value="200">2</option><option value="300">3</option><option value="400">4</option><option value="500">5</option><option value="600">6</option><option value="700">7</option><option value="800">8</option><option value="900">9</option><option value="1000">10 (highest)</option>
    </select>
            <button id="popup_vote" type="submit" name="ag.do.vote" value="Vote">Vote</button>
        


    </form>
    


</div>
    </div><!--g_content-->
    <div class="g_end"></div>
</div><!--layout-content-->
        <div class="hide" itemscope itemtype="https://schema.org/Organization">
            https://anidb.net/
            <img loading="lazy" alt="AniDB" itemprop="logo" src="https://cdn-eu.anidb.net/css/assets/images/touch/android-chrome-512x512.png"/>
            https://twitter.com/AniDBStatus
            <span class="hide" itemprop="name">AniDB</span>
        </div>
    </body>
</html>
    at handleVote (global.js:1960:21)
    at Object.success (global.js:252:25)
    at fire (jquery.js:3937:47)
    at Object.fireWith [as resolveWith] (jquery.js:4067:29)
    at done (jquery.js:10658:30)
    at XMLHttpRequest.<anonymous> (jquery.js:10936:37)
handleVote @ global.js:1960
success @ global.js:252
fire @ jquery.js:3937
fireWith @ jquery.js:4067
done @ jquery.js:10658
(anonymous) @ jquery.js:10936
load (async)
send @ jquery.js:10957
ajax @ jquery.js:10549
Data.fetchJSONData @ global.js:223
(anonymous) @ global.js:1994
dispatch @ jquery.js:5973
elemData.handle @ jquery.js:5724
Steps To Reproduce1) Go to https://anidb.net/perl-bin/animedb.pl?show=anime&aid=16282

2) Scroll down to Group Status section

3) Click the rate/like button on a release (I choose Tenrai-Sensei)

4) In the popup modal, click the vote button without selecting a score from dropdown

5) keep waiting while the spinner keeps spinning and nothing will happen because there's a JS error in the console
TagsAJAX, anime, group

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-05-28 12:02 ibzotaku New Issue
2022-05-28 12:02 ibzotaku Tag Attached: AJAX
2022-05-28 12:02 ibzotaku Tag Attached: anime
2022-05-28 12:02 ibzotaku Tag Attached: group