Whats changed with the cancel messages?
FIXED- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Feedback
- :
- Community Site Feedback
- :
- Re: Whats changed with the cancel messages?
13-06-2016 9:18 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
This is aimed at @jaread83 as it is probably website design related.
What has happened to custom messages when clicking cancel on a webpage? I am seeing lots of "This page is asking asking you to confirm that you want to leave" type messages, and it's not just me
Is this some new UI standard?
Fixed! Go to the fix.
Re: Whats changed with the cancel messages?
13-06-2016 9:39 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
it is a javascript device to ensure that you get a warning when you are leaving a posting screen - at least it is here
Re: Whats changed with the cancel messages?
13-06-2016 10:00 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I had an unexpected "are you sure you want to leave the page" pop-up earlier.
All I had done is compose a reply, I'd done a "Preview", spotted a change I needed to make, clicked the "Rich Text" tab, moved the mouse pointer into the edit box where I wanted to make the edit, then did a single left mouse button click to set the cursor, and that is when the pop-up occurred.
I didn't bother reporting it as I assumed that the useless part-time achieve nothing Plusnet web team would say "nobody else has reported it", or "we will add it as low priority to the mythical list of things we have no intention of ever looking at", or "we can't change functionality because that is part of the Lithium product".
I'm fed up with the daily pathetic excuses from Plusnet, grow some balls and demand that Lithium engineers are on site until all the issues are resolved. Plusnet paid for this garbage, and it's about time they set some deadlines for having a working forum which doesn't break almost every time it is used.
Why the hell don't Plusnet admit they made a mistake, and switch forum providers to a company who actually responds to change requests, properly investigates issues, and are seen to actively maintain their product ?.
Why has virtually nothing been done about ANY reported issues after ten weeks of constant struggle with this forum which should never have gone live until ALL the concerns of the beta testers had been resolved.
Re: Whats changed with the cancel messages?
14-06-2016 9:10 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
By default, you could leave the page while composing a message and if it didn't autosave the content it would be lost forever. As @Oldjim has pointed out, I added a script that would provide a message to confirm you wanted to leave the reply page. This script ignores interactions with the tabs so not sure why this would affect you @Anonymous.
@Browni, can I ask what browser you are using? If it's IE there might be a slight difference to how the script interacts with the browser and I will need to extend my customisation to make sure it works on that particular browser.
This is my own customisation and is nothing to do with the Lithium platform. It was requested by the test users to include this functionality as losing your post because of clicking a link to leave the page was not providing any kind of way to stop the page from leaving.
Frontend Web Developer | www.plus.net
If you have an idea to improve the community, create a new topic on our Community Feedback board to start a discussion about your idea.
Re: Whats changed with the cancel messages?
14-06-2016 9:27 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I'm surprised you say it's a customisation you've made because the O2 forum uses the same, rather obtuse, message.
Re: Whats changed with the cancel messages?
14-06-2016 9:33 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Okay, I will have to get Palemoon onto a windows machine and take a look.
The system does provide a message by default but the testers found that it didn't appear in some situations. I think either after or before the autosave kicks in it didn't show the message, not sure... but that's why I added a script. Some browsers support the ability to make the message say whatever you want but some browser can't and will show a default message. Here it is for posterity:
var submitted = false; window.onbeforeunload = function (e) { if (submitted == false) { var message = "Are you sure you want to navigate away from your reply?", e = e || window.event; setTimeout(function () { // The user stayed, so do whatever you want $("#submitContext_3").removeClass('lia-link-disabled'); $("#messageQuote").removeClass('lia-link-disabled'); $("#submitContext_1").removeClass('lia-link-disabled'); $('.lia-form-submit .lia-button-wrapper').removeClass('lia-link-disabled'); $('.lia-button-overlay').hide(); }, 100); if (e) { e.returnValue = message; } return message; } } $(".lia-button-Submit-action").click(function() { submitted = true; });
Frontend Web Developer | www.plus.net
If you have an idea to improve the community, create a new topic on our Community Feedback board to start a discussion about your idea.
Re: Whats changed with the cancel messages?
14-06-2016 9:44 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
As an aside, I had this script configured to not display the message when clicking the 'post' button. I felt it was needed on the cancel button as it gives you an extra layer of 'are you sure?'. @Browni, are you suggesting I should extend my script to also include the 'cancel' button to not display the message? This would remove the prompt but some users might feel like they need this layer of protection when composing a message...
Frontend Web Developer | www.plus.net
If you have an idea to improve the community, create a new topic on our Community Feedback board to start a discussion about your idea.
Re: Whats changed with the cancel messages?
14-06-2016 9:47 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Regarding the customisation - I seem to remember that the basic functionality was there but that there were some circumstances where it didn't work and I think that was when leaving the Preview screen
Re: Whats changed with the cancel messages?
14-06-2016 9:52 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
14-06-2016 10:23 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Frontend Web Developer | www.plus.net
If you have an idea to improve the community, create a new topic on our Community Feedback board to start a discussion about your idea.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Feedback
- :
- Community Site Feedback
- :
- Re: Whats changed with the cancel messages?