Fix bug #1414
This commit is contained in:
parent
3f005c1a6f
commit
31cda1f27d
|
@ -171,7 +171,6 @@ llapp.controller 'SessionsExplorerCtrl', ['$scope', '$translator', '$location',
|
|||
tmp = []
|
||||
reg = new RegExp(re)
|
||||
for key,value of session
|
||||
key = key.toString()
|
||||
if key.match(reg) and value
|
||||
tmp.push
|
||||
title: key
|
||||
|
@ -186,8 +185,6 @@ llapp.controller 'SessionsExplorerCtrl', ['$scope', '$translator', '$location',
|
|||
|
||||
# 1. Replace values if needed
|
||||
for key, value of session
|
||||
key = key.toString()
|
||||
value = value.toString()
|
||||
unless value
|
||||
delete session[key]
|
||||
else
|
||||
|
|
|
@ -196,7 +196,6 @@
|
|||
reg = new RegExp(re);
|
||||
for (key in session) {
|
||||
value = session[key];
|
||||
key = key.toString();
|
||||
if (key.match(reg) && value) {
|
||||
tmp.push({
|
||||
title: key,
|
||||
|
@ -216,8 +215,6 @@
|
|||
id = session._session_id;
|
||||
for (key in session) {
|
||||
value = session[key];
|
||||
key = key.toString();
|
||||
value = value.toString();
|
||||
if (!value) {
|
||||
delete session[key];
|
||||
} else {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user