Browse Source
Merge pull request #570 from ryandeba/prevent-duplicate-text-content-after-editing Fixes #569
render text view after disabling editing
pull/606/head
Artur Arseniev
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/dom_components/view/ComponentTextView.js
|
|
|
@ -82,7 +82,7 @@ module.exports = ComponentView.extend({ |
|
|
|
} |
|
|
|
|
|
|
|
// Avoid re-render on reset with silent option
|
|
|
|
model.set('content', ''); |
|
|
|
model.set('content', '').trigger('change:content', model); |
|
|
|
comps.add(content); |
|
|
|
comps.each(model => clean(model)); |
|
|
|
comps.trigger('resetNavigator'); |
|
|
|
|