Last modified: 2012-11-12 06:29:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T44013, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42013 - 'class' as property name
'class' as property name
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UniversalLanguageSelector (Other open bugs)
unspecified
All All
: Unprioritized major (vote)
: ---
Assigned To: Ershad K
: javascript, patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-11 15:28 UTC by Fomafix
Modified: 2012-11-12 06:29 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Patch for ext.uls.init.js (451 bytes, patch)
2012-11-11 15:28 UTC, Fomafix
Details

Description Fomafix 2012-11-11 15:28:55 UTC
Created attachment 11345 [details]
Patch for ext.uls.init.js

Internet Explorer 8 generates

Meldung: Bezeichner, Zeichenfolge oder Zahl erwartet
Zeile: 254
Zeichen: 7
Code: 0
URI: http://example.org/w/extensions/UniversalLanguageSelector/resources/js/ext.uls.init.js

the property name 'class' must be quoted because it is a keyword:

use
  { 'class': 'uls-prevlang-link' }
instead of
  { class: 'uls-prevlang-link' }
Comment 1 Ershad K 2012-11-12 06:29:01 UTC
The patch has been applied and pushed to gerrit I01ded82b

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links