Leaving a textarea field
Page: 1, 2
For those of who are big keyboard users, Cmd-left-arrow (on the Mac) will take you to the beginning of the current line in any Mac application, including in web-based textarea fields. This works fine in Firefox/Mac in all web apps I know of.
But for some reason, hitting Cmd-left-arrow while in an ActiveCollab textarea will cause the browser to go back to the previous page, which is the usual behavior when you're NOT currently editing a textarea.
In other words, you can type three paragraphs of content, hit Cmd-left-arrow as part of your normal editing process, and lose everything you just typed when the browser jumps back to the prev. page. Hit Forward on the browser, and everything you typed is gone.
I've lost a fair bit of work to this bug today! Thanks for looking into it.
But for some reason, hitting Cmd-left-arrow while in an ActiveCollab textarea will cause the browser to go back to the previous page, which is the usual behavior when you're NOT currently editing a textarea.
In other words, you can type three paragraphs of content, hit Cmd-left-arrow as part of your normal editing process, and lose everything you just typed when the browser jumps back to the prev. page. Hit Forward on the browser, and everything you typed is gone.
I've lost a fair bit of work to this bug today! Thanks for looking into it.
Argh! It just happened again, but this time with cmd-forward. I just can't seem to train my fingers to stop doing that - I've been editing text that way for years.
Interesting - it doesn't happen on the textarea fields on this forum - only in AC itself.
Interesting - it doesn't happen on the textarea fields on this forum - only in AC itself.
Ilja - Check out WordPress, which also uses a visual editor (TinyMCE). If using the visual editor in WP and you hit one of these keys, it blocks on a javascript popup dialog asking "Are you sure you want to navigate away from this page? All changes will be lost." I'd recommend looking into a solution like that.
Hi Ilja - No, I don't get that dialog in Firefox/Mac (hence the report above). Whether I hit Cmd-left/right arrow (which I do often) or Cmd-W to close the window, (which I never do accidentally) I lose my place and all the text I've typed in so far.
Comparing to Safari now... In Safari you don't get the visual editor, so this problem doesn't apply. However when I hit Cmd-W in Safari I DO get that popup dialog.
Note that AC could use some Safari testing - layout in general is pretty whacky in Safari.
Comparing to Safari now... In Safari you don't get the visual editor, so this problem doesn't apply. However when I hit Cmd-W in Safari I DO get that popup dialog.
Note that AC could use some Safari testing - layout in general is pretty whacky in Safari.
Hi Goran - I'm looking all over in the AC interface and in the installation files, but am not finding any reference to the version or build #. Where do I find this (would be good to include at the bottom of the page in the Admin section of AC, or in a version.txt in the distribution).
Thanks,
Scot
Thanks,
Scot
Thanks - Upgrading AC and emptying the compile dir caused the version # to appear. In 0.7 there was a clear notice when updates were available. Does 1.x have a similar mechanism to let us know when new versions are out? (we were still on 1.0, and had no idea there were updates).
Note: This upgrade hasn't changed anything re: Not getting an alert when navigating away from a page with a textarea in Firefox/Mac.
However, the layout in Safari looks great now! Thanks.
Note: This upgrade hasn't changed anything re: Not getting an alert when navigating away from a page with a textarea in Firefox/Mac.
However, the layout in Safari looks great now! Thanks.



