spleenboy / pallium-cms

Pallium CMS is a node.js based content management application that handles yaml, json and markdown files with front matter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Locks persist when a user navigates away from a page

spleenboy opened this issue · comments

When you leave a page without saving, the lock persists too long. Maybe drop the expiration time and renew it while editing?

Unlock events were sometimes being missed due to the scope of the Locker instance. The Locker class has been updated to use Hooks, which bubble up the "lock" and "unlock" events outside of instances.