Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
3ea654d2
Commit
3ea654d2
authored
9 years ago
by
Lukas Reschke
Browse files
Options
Downloads
Patches
Plain Diff
Use .text instead of .html
Makes some static source code analyzers happier.
parent
b0491bf9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
settings/js/personal.js
+3
-3
3 additions, 3 deletions
settings/js/personal.js
with
3 additions
and
3 deletions
settings/js/personal.js
+
3
−
3
View file @
3ea654d2
...
@@ -195,9 +195,9 @@ $(document).ready(function () {
...
@@ -195,9 +195,9 @@ $(document).ready(function () {
$
(
'
#password-error
'
).
removeClass
(
'
inlineblock
'
).
addClass
(
'
hidden
'
);
$
(
'
#password-error
'
).
removeClass
(
'
inlineblock
'
).
addClass
(
'
hidden
'
);
}
else
{
}
else
{
if
(
typeof
(
data
.
data
)
!==
"
undefined
"
)
{
if
(
typeof
(
data
.
data
)
!==
"
undefined
"
)
{
$
(
'
#password-error
'
).
html
(
data
.
data
.
message
);
$
(
'
#password-error
'
).
text
(
data
.
data
.
message
);
}
else
{
}
else
{
$
(
'
#password-error
'
).
html
(
t
(
'
Unable to change password
'
));
$
(
'
#password-error
'
).
text
(
t
(
'
Unable to change password
'
));
}
}
// Hide a possible successmsg and show errormsg
// Hide a possible successmsg and show errormsg
$
(
'
#password-changed
'
).
removeClass
(
'
inlineblock
'
).
addClass
(
'
hidden
'
);
$
(
'
#password-changed
'
).
removeClass
(
'
inlineblock
'
).
addClass
(
'
hidden
'
);
...
@@ -226,7 +226,7 @@ $(document).ready(function () {
...
@@ -226,7 +226,7 @@ $(document).ready(function () {
location
.
reload
();
location
.
reload
();
}
}
else
{
else
{
$
(
'
#passworderror
'
).
html
(
data
.
data
.
message
);
$
(
'
#passworderror
'
).
text
(
data
.
data
.
message
);
}
}
});
});
return
false
;
return
false
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment