Fixing bug where lists get deleted when pressing enter
parent
23cda77b65
commit
18dc111010
|
@ -83,9 +83,7 @@ AttributeManager.prototype = _(AttributeManager.prototype).extend({
|
||||||
// TODO
|
// TODO
|
||||||
|
|
||||||
if(hasMarker){
|
if(hasMarker){
|
||||||
ChangesetUtils.buildKeepRange(this.rep, builder, loc, (loc = [lineNum, 0]), [
|
ChangesetUtils.buildKeepRange(this.rep, builder, loc, (loc = [lineNum, 0]));
|
||||||
[attributeName, attributeValue]
|
|
||||||
], this.rep.apool);
|
|
||||||
ChangesetUtils.buildRemoveRange(this.rep, builder, loc, (loc = [lineNum, 1]));
|
ChangesetUtils.buildRemoveRange(this.rep, builder, loc, (loc = [lineNum, 1]));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue