Whenever I edit my own answer, and click Save Edits, I get the dialog confirming that I want to leave the page:
It should just save my edits as I am trying to save them, not cancel them.
This is happening for me on Safari 5.1 / OSX. EDIT: Safari 6.0 now consistently reproduces this problem.
Steps to reproduce:
- Answer a question.
- Click "Edit" on your own answer
- Make a change
- Click "Save Edit"
- Get alert asking if it's OK to Leave the page.
I'm not trying to leave the page, I am trying to save an edit to an answer I made.
EDIT:
It seems that I am getting a JavaScript error along with this behavior:
Type issue
Attempted to assign to readonly property.
On line 171 of full.js.
Edit: As of Safari 6.0 on July 25th it's line 178 of the minified full.js. This will impact anyone that applies security updates to Lion or installs Mountain Lion after today as Safari 6.0 ships for both OS:
u[0]])},{sliding:!0});r.keyup(k);i.find("#title,.wmd-input,#tagnames,.edit-comment").keydown(function(b){if(!0===b.ctrlKey&&13==b.keyCode)return s.submit(),!1;if(27==b.keyCode)return a(),j(d),!1});s.submit(function(){var a=$(this).serialize();a.fkey=StackExchange.options.user.fkey;StackExchange.navPrevention&&StackExchange.navPrevention.stop();o.parent().addSpinner();StackExchange.helpers.disableSubmitButton(s);$.ajax({type:"POST",dataType:"json",data:a,url:s[0].action,success:function(a){if(a.success){var c=
"".fkey = "test"
, do you get a similar exception?