Implemented first basic version of layout option for switching display of skin edit controls, ie. a button that appears next to every editable skin and directly leads to the skin editor when clicked.

This commit is contained in:
Tobi Schäfer 2012-05-13 17:02:09 +00:00
parent 99b771f8af
commit b21d98211e
9 changed files with 154 additions and 15 deletions

View file

@ -268,8 +268,9 @@ User.login = function(data) {
*/
User.logout = function() {
session.logout();
res.setCookie(User.COOKIE, String.EMPTY);
res.setCookie(User.HASHCOOKIE, String.EMPTY);
res.unsetCookie(User.COOKIE);
res.unsetCookie(User.HASHCOOKIE);
Layout.sandbox(false);
User.getLocation();
return;
}