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

       Web browser: ---
             Bug #: 31002
           Summary: jquery.hotkeys.js breaks search suggestions
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: BookManager
        AssignedTo: [email protected]
        ReportedBy: [email protected]
            Blocks: 28011
    Classification: Unclassified


Created attachment 9074
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=9074
JS error

I'm using latest version of BookManager and of MW (r97515) and when I access a
chater of some book, there is a Javascript error caused by jquery.hotkeys.js.

On Google Chrome 13.0.782.220:
> http://localhost/mediawiki/extensions/BookManager/client/jquery.hotkeys.js:112
> Uncaught TypeError: Cannot read property 'combi' of null

On Firefox 6.02:
> data is null @ > 
> http://localhost/mediawiki/extensions/BookManager/client/jquery.hotkeys.js:112

Looking at the call stack on Google Chrome, I see that the error occurs when 

> $( '#searchInput, #searchInput2, #powerSearchText, #searchText' )
>      .suggestions(...)

is executed on
http://localhost/mediawiki/extensions/Vector/modules/ext.vector.simpleSearch.js

This makes the search suggestions not to start when the user types some
characters in the search field.

-- 
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