Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
e57f5e46
Commit
e57f5e46
authored
Jun 23, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix preferences if has on false value
parent
008f579c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
debomatic-webui/public/javascripts/preferences.js
debomatic-webui/public/javascripts/preferences.js
+1
-1
No files found.
debomatic-webui/public/javascripts/preferences.js
View file @
e57f5e46
...
@@ -8,7 +8,7 @@ function Preferences() {
...
@@ -8,7 +8,7 @@ function Preferences() {
var
load
=
function
()
{
var
load
=
function
()
{
for
(
var
key
in
config
.
preferences
)
{
for
(
var
key
in
config
.
preferences
)
{
var
value
=
localStorage
.
getItem
(
key
);
var
value
=
localStorage
.
getItem
(
key
);
if
(
value
)
{
if
(
value
!==
null
&&
value
!==
'
undefined
'
)
{
debug
(
2
,
'
loading preference
'
,
key
,
value
);
debug
(
2
,
'
loading preference
'
,
key
,
value
);
config
.
preferences
[
key
]
=
JSON
.
parse
(
value
);
config
.
preferences
[
key
]
=
JSON
.
parse
(
value
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment