• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TryGhost / Ghost-Admin / 4788
70%

Build:
DEFAULT BRANCH: master
Ran 15 Mar 2019 04:24PM UTC
Jobs 1
Files 470
Run time 33s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
4788

push

travis-ci

kevinansfield
🐛 Fixed unnecessary "Are you sure you want to leave?" modals

no issue
- if a post was saved before the body content was edited you would get stuck with an "Are you sure you want to leave?" modal even though you had already saved
- the editor saw the post as being in a dirty state because the `mobiledoc` and `scratch` value were null but after saving the `mobiledoc` value was set to an blank mobiledoc object as returned by the API
- updated the `post` model save method to reset the `scratch` value if the returned `mobiledoc` no longer matches

1926 of 3098 branches covered (62.17%)

4392 of 6217 relevant lines covered (70.65%)

44.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4788.1 15 Mar 2019 04:24PM UTC 0
70.65
Travis Job 4788.1
Source Files on build 4788
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4788
  • 6b01266b on github
  • Prev Build on master (#4787)
  • Next Build on master (#4789)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc