Stop the text area being highlighted when loaded. Really annoyed me that page was loading with the text area all blue! Moved the logic for navigating and focusing the editor to be after when the setValue method is called. Couldn't find any proof that ace's .setValue method was doing the highlight but trial and error seemed to suggest this. Anyway, it's stopped it happening on my machine!
Stop any checking of 'isDirty'. As we can't get it to check that when clicking the other dashboard links I don't think it's the end of the world that we just don't bother with this at all. i believe it's better to have no prompts re saving changes than annoying ones when you have saved it!
BTW you don't need to have updated your test site to v8.1 to test this one - it will work the same regardless
I believe this PR will:
Stop the text area being highlighted when loaded. Really annoyed me that page was loading with the text area all blue! Moved the logic for navigating and focusing the editor to be after when the setValue method is called. Couldn't find any proof that ace's .setValue method was doing the highlight but trial and error seemed to suggest this. Anyway, it's stopped it happening on my machine!
Stop any checking of 'isDirty'. As we can't get it to check that when clicking the other dashboard links I don't think it's the end of the world that we just don't bother with this at all. i believe it's better to have no prompts re saving changes than annoying ones when you have saved it!
BTW you don't need to have updated your test site to v8.1 to test this one - it will work the same regardless