https://bugzilla.wikimedia.org/show_bug.cgi?id=39311

       Web browser: ---
             Bug #: 39311
           Summary: Site-links ui: if page value is not empty string
                    anymore and then changing site-id will allow for
                    pressing save on invalid value
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


After inserting site-id and page, it is possible to go back to site-id and
change it. It can be changed to an invalid value, e.g. simply "a".
When pressing the "save" button everything works, because "a" will change into
the first value shown in the auto suggestion.
When pressing enter, save will be triggered but JS will fail because the 'blur'
event will not be triggered and also the new 'onkeydown' event used in
I1e2b1272 won't be triggered (these would expand the "a" to the first suggested
value from the list) probably because the 'onkeydown' event registered for
saving the value is triggered first.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to