Fix transaction bug with Roans help.

Fixes (Bug 40339)

Change-Id: Ice26bf08071cba5c5500aa9196ade169381a9aea
This commit is contained in:
Rob Moen 2012-10-01 16:27:56 -07:00
parent 1ab5fac1aa
commit 3a48860602

View file

@ -272,6 +272,8 @@ ve.dm.Transaction.newFromContentBranchConversion = function ( doc, range, type,
// Add attributes to opening if needed
if ( ve.isPlainObject( attr ) ) {
opening.attributes = attr;
} else {
attr = {};
}
// Replace the wrappings of each content branch in the range
for ( i = 0; i < selection.length; i++ ) {