Skip to content

Comments

Fixed bug - editor not disabled#23

Merged
JelteMX merged 1 commit intomendixlabs:masterfrom
gajduk:master
Feb 12, 2018
Merged

Fixed bug - editor not disabled#23
JelteMX merged 1 commit intomendixlabs:masterfrom
gajduk:master

Conversation

@gajduk
Copy link
Contributor

@gajduk gajduk commented Jul 18, 2017

Hi,

My name is Andrej Gajduk, I am a mendix consultant for Mensystems. We are using BootstrapRTE widget in our mendix application.
I noticed the following bug:
When the context object takes longer to load, the Bootstrap components gets initilized as editable.
When the context object is finally loaded setting the readonly flag has no effect.
My fix for this was to disable the bootstrapcomponent explicitly, when the context object is loaded - only if neccessary and only if it has been constructed.
I tested this locally and it seems to work without issues. Here is the revised code, its really not a lot. I hope that you can also update the version on the App Store soon.

-Andrej

@JelteMX JelteMX self-assigned this Jul 18, 2017
@JelteMX JelteMX merged commit 1d00fd2 into mendixlabs:master Feb 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants