r104177 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r104176
|
r104177
|
r104178
>
Date:
16:13, 24 November 2011
Author:
catrope
Status:
deferred
Tags:
Comment:
Fix the prepareContentAnnotation test cases added in
r104102
Modified paths:
/trunk/extensions/VisualEditor/modules/es/models/es.DocumentModel.js
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/VisualEditor/modules/es/models/es.DocumentModel.js
—
—
@@ -1050,6 +1050,9 @@
1051
1051
if ( this.data[i].type !== undefined ) {
1052
1052
// Don't annotate structural elements
1053
1053
if ( on ) {
1054
+ if ( span ) {
1055
+ tx.pushRetain( span );
1056
+ }
1054
1057
tx.pushStopAnnotating( method, annotation );
1055
1058
span = 0;
1056
1059
on = false;
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r104102
Added test that exposes bugs in prepareContentAnnotation
tparscal
23:24, 23 November 2011
Status & tagging log
13:58, 25 November 2011
Hashar
(
talk
|
contribs
)
changed the
status
of r104177
[
removed:
new
added:
deferred]