Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#45129 closed defect (bug) (invalid)

Preview button open new tab instead of previous one

Reported by: dreamon11 Owned by:
Priority: normal Milestone:
Component: Posts, Post Types Version:
Severity: normal Keywords:
Cc: Focuses: administration

Description

In admin, after clicking a second time (and more) on Preview button in post editing, a new tab is opened instead of refresh previous tab already opened with new version of the post and focus to this previous tab.

The problem occurs after "Save draft..." mention on bottom of the page.

Problem occurs with Firefox (current version : 62.0.3 (64-bit), Ubuntu) with all addons disabled. Try resetting Firefox, problem still here.

With Chromium (current version : 69.0.3497.81, Ubuntu), the previous tab is refresh but still focus on admin post edit instead of swith to post preview tab.

Change History (5)

#1 follow-up: @mukesh27
8 years ago

  • Component Administration → Posts, Post Types
  • Resolution → worksforme
  • Severity normal → minor
  • Status new → closed

It's working fine for me in Firefox Version 62.0.3 ( 64-bit ), Ubuntu and Google Chrome Version 69.0.3497.81 (64-bit).

#2 in reply to: ↑ 1 @dreamon11
8 years ago

Replying to mukesh27:

It's working fine for me in Firefox Version 62.0.3 ( 64-bit ), Ubuntu and Google Chrome Version 69.0.3497.81 (64-bit).

Cool, I didn't know if it's working for you, it's working for everyone. Thanks.

#3 follow-up: @SergeyBiryukov
8 years ago

  • Keywords reporter-feedback added
  • Resolution worksforme
  • Severity minor → normal
  • Status closed → reopened

Hi @dreamon11, welcome to WordPress Trac! Thanks for the report.

Could you test ​WordPress 5.0 Beta 1 to see if the issue still happens there?

#4 in reply to: ↑ 3 @dreamon11
8 years ago

Replying to SergeyBiryukov:

Hi @dreamon11, welcome to WordPress Trac! Thanks for the report.

Could you test ​WordPress 5.0 Beta 1 to see if the issue still happens there?

Thanks for help @SergeyBiryukov!

I managed to solve the problem yesterday: it was evercookie (​https://github.com/samyk/evercookie). Since I remove this code (which activate evercookie):

<script>
  var ec = new evercookie(); 
</script>

it works fine. I don't know why :/

#5 @SergeyBiryukov
8 years ago

  • Keywords reporter-feedback removed
  • Milestone Awaiting Review
  • Resolution → invalid
  • Status reopened → closed

Thanks for the follow-up!

Note: See TracTickets for help on using tickets.