Click here to Skip to main content
15,885,141 members

Bugs and Suggestions

   

General discussions, site bug reports and suggestions about the site.

For general questions check out the CodeProject FAQs. To report spam and abuse Head to the Spam and abuse watch. If you wish to report a bug privately, especially those related to security, please email webmaster@codeproject.com

 
GeneralSuggestion Pin
Khaniya20-Dec-10 23:17
professionalKhaniya20-Dec-10 23:17 
GeneralRe: Suggestion Pin
Sandeep Mewara20-Dec-10 23:33
mveSandeep Mewara20-Dec-10 23:33 
GeneralRe: Suggestion Pin
Khaniya21-Dec-10 2:40
professionalKhaniya21-Dec-10 2:40 
Generaladd an "onbeforeunload" handler to the article editor to prevent accidental loss Pin
David Jeske20-Dec-10 9:29
David Jeske20-Dec-10 9:29 
GeneralRe: add an "onbeforeunload" handler to the article editor to prevent accidental loss Pin
Chris Maunder20-Dec-10 16:36
cofounderChris Maunder20-Dec-10 16:36 
GeneralRe: add an "onbeforeunload" handler to the article editor to prevent accidental loss Pin
David Jeske20-Dec-10 20:35
David Jeske20-Dec-10 20:35 
GeneralRe: add an "onbeforeunload" handler to the article editor to prevent accidental loss Pin
Chris Maunder21-Dec-10 2:15
cofounderChris Maunder21-Dec-10 2:15 
GeneralRe: add an "onbeforeunload" handler to the article editor to prevent accidental loss Pin
David Jeske21-Dec-10 9:04
David Jeske21-Dec-10 9:04 
I just tested this myself.

In Firefox (3.6.10) I correctly receive the onbeforeunload warning dialog.

In Chrome (8.0.552.224), I do not receive an onbeforeunload warning dialog when clicking "back" from the editor.

Apparently there is an "incompatible" way to do onbeforeunload, and a "compatible" way. It looks like in Chrome/Safari/Webkit, you need to do:

function stopUnload() {
return "warning";
}

window.onbeforeunload = stopUnload;

Instead of attachEvent().

http://www.webreference.com/dhtml/diner/beforeunload/bunload4.html

http://code.google.com/p/chromium/issues/detail?id=4422
GeneralRe: add an "onbeforeunload" handler to the article editor to prevent accidental loss Pin
Chris Maunder21-Dec-10 13:37
cofounderChris Maunder21-Dec-10 13:37 
GeneralRe: add an "onbeforeunload" handler to the article editor to prevent accidental loss Pin
David Jeske21-Dec-10 15:31
David Jeske21-Dec-10 15:31 
GeneralRe: add an "onbeforeunload" handler to the article editor to prevent accidental loss Pin
Nish Nishant21-Dec-10 5:00
sitebuilderNish Nishant21-Dec-10 5:00 
GeneralForum notifications and Microsoft's SmartScreen filter Pin
dasblinkenlight20-Dec-10 8:13
dasblinkenlight20-Dec-10 8:13 
GeneralRe: Forum notifications and Microsoft's SmartScreen filter Pin
Slacker00720-Dec-10 9:29
professionalSlacker00720-Dec-10 9:29 
GeneralRe: Forum notifications and Microsoft's SmartScreen filter Pin
dasblinkenlight20-Dec-10 9:34
dasblinkenlight20-Dec-10 9:34 
GeneralRe: Forum notifications and Microsoft's SmartScreen filter Pin
Slacker00720-Dec-10 9:39
professionalSlacker00720-Dec-10 9:39 
GeneralRe: Forum notifications and Microsoft's SmartScreen filter Pin
Chris Maunder20-Dec-10 16:37
cofounderChris Maunder20-Dec-10 16:37 
GeneralBUG: Voting Stars Not Showing Properly Pin
Slacker00720-Dec-10 7:35
professionalSlacker00720-Dec-10 7:35 
GeneralRe: BUG: Voting Stars Not Showing Properly Pin
Luc Pattyn20-Dec-10 7:39
sitebuilderLuc Pattyn20-Dec-10 7:39 
GeneralRe: BUG: Voting Stars Not Showing Properly Pin
Slacker00720-Dec-10 7:44
professionalSlacker00720-Dec-10 7:44 
GeneralRe: BUG: Voting Stars Not Showing Properly Pin
Luc Pattyn20-Dec-10 7:50
sitebuilderLuc Pattyn20-Dec-10 7:50 
GeneralRe: BUG: Voting Stars Not Showing Properly Pin
Slacker00720-Dec-10 8:00
professionalSlacker00720-Dec-10 8:00 
GeneralRe: BUG: Voting Stars Not Showing Properly Pin
Luc Pattyn20-Dec-10 8:24
sitebuilderLuc Pattyn20-Dec-10 8:24 
GeneralRe: BUG: Voting Stars Not Showing Properly Pin
AspDotNetDev20-Dec-10 7:45
protectorAspDotNetDev20-Dec-10 7:45 
GeneralRe: BUG: Voting Stars Not Showing Properly Pin
AspDotNetDev20-Dec-10 7:46
protectorAspDotNetDev20-Dec-10 7:46 
GeneralWhy does this happen? Pin
bleedingfingers20-Dec-10 0:00
bleedingfingers20-Dec-10 0:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.