Skip to content
Snippets Groups Projects
Commit beb95407 authored by Jared Hancock's avatar Jared Hancock
Browse files

lock: Cancel lock release warning when navigating

parent 3e99ceab
No related branches found
No related tags found
No related merge requests found
......@@ -214,7 +214,7 @@ var autoLock = {
async: false,
cache: false,
success: function() {
autoLock.lockId = 0;
autoLock.destroy();
}
});
},
......@@ -281,6 +281,11 @@ var autoLock = {
function () { autoLock.monitorEvents(); },
time || 30000
);
},
destroy: function() {
autoLock.clearTimeout();
autoLock.lockId = 0;
}
};
$.autoLock = autoLock;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment