projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c6f752
)
Fixed JavaScript error
author
Alexander Ebert
<ebert@woltlab.com>
Tue, 30 Jul 2013 13:36:53 +0000
(15:36 +0200)
committer
Alexander Ebert
<ebert@woltlab.com>
Tue, 30 Jul 2013 13:36:53 +0000
(15:36 +0200)
wcfsetup/install/files/js/WCF.js
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/js/WCF.js
b/wcfsetup/install/files/js/WCF.js
index 635913168614e494f3e54f113df7b080088f8e0a..580883189ab0bc5700108ec120203aacd3be94bf 100755
(executable)
--- a/
wcfsetup/install/files/js/WCF.js
+++ b/
wcfsetup/install/files/js/WCF.js
@@
-7656,7
+7656,7
@@
WCF.EditableItemList = Class.extend({
_keyDown: function(event) {
// 188 = [,]
if (event === null || event.which === 188 || event.which === $.ui.keyCode.ENTER) {
- if (event.which === $.ui.keyCode.ENTER && this._search) {
+ if (event
!== null && event
.which === $.ui.keyCode.ENTER && this._search) {
if (this._search._itemIndex !== -1) {
return false;
}