dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4f604c
)
Fixed complete breakage of Special:Upload due to r66913. Fatal JS error "summary...
author
Tim Starling
<tstarling@users.mediawiki.org>
Thu, 27 May 2010 07:19:03 +0000
(07:19 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Thu, 27 May 2010 07:19:03 +0000
(07:19 +0000)
skins/common/edit.js
patch
|
blob
|
history
diff --git
a/skins/common/edit.js
b/skins/common/edit.js
index
17d29e8
..
4ce781f
100644
(file)
--- a/
skins/common/edit.js
+++ b/
skins/common/edit.js
@@
-231,7
+231,10
@@
hookEvent( 'load', function() {
//make sure edit summary does not exceed byte limit
addOnloadHook(function () {
- var summary = document.getElementById('wpSummary');
+ var summary = document.getElementById( 'wpSummary' );
+ if ( !summary ) {
+ return;
+ }
summary.maxLength = 250; //L must be capitalized in length.
checkSummary = function (e) {