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

TryGhost / Ghost-Admin / 4789
70%

Build:
DEFAULT BRANCH: master
Ran 15 Mar 2019 04:33PM UTC
Jobs 1
Files 470
Run time 28s
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
4789

cron

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

1928 of 3098 branches covered (62.23%)

4394 of 6217 relevant lines covered (70.68%)

89.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4789.1 15 Mar 2019 04:33PM UTC 0
70.68
Travis Job 4789.1
Source Files on build 4789
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4789
  • 6b01266b on github
  • Prev Build on master (#4788)
  • Next Build on master (#4790)
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