Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a8afe918
Commit
a8afe918
authored
Jul 11, 2016
by
Kevin Kim
Committed by
GitHub
Jul 11, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12969 from edx/kkim/learner_profile_fix
Fix the About Me section on the learner profile page.
parents
cb4c7125
dfc1cf15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
lms/static/js/views/fields.js
+5
-4
No files found.
lms/static/js/views/fields.js
View file @
a8afe918
...
...
@@ -60,7 +60,7 @@
HtmlUtils
.
HTML
(
'<span class="fa fa-plus placeholder" aria-hidden="true"></span><span class="sr">'
),
gettext
(
"Placeholder"
),
HtmlUtils
.
HTML
(
'</span>'
)
)
)
,
},
messages
:
{
...
...
@@ -98,8 +98,8 @@
return
(
this
.
modelValue
()
===
true
);
},
title
:
function
(
t
ext
)
{
return
this
.
$
(
'.u-field-title'
).
text
(
text
);
title
:
function
(
t
itle
)
{
return
HtmlUtils
.
setHtml
(
this
.
$
(
'.u-field-title'
),
title
);
},
getMessage
:
function
(
message_status
)
{
...
...
@@ -528,7 +528,8 @@
placeholderValue
:
this
.
options
.
placeholderValue
}));
this
.
delegateEvents
();
this
.
title
((
this
.
modelValue
()
||
this
.
mode
===
'edit'
)
?
this
.
options
.
title
:
this
.
indicators
[
'plus'
]
+
this
.
options
.
title
);
this
.
title
((
this
.
modelValue
()
||
this
.
mode
===
'edit'
)
?
this
.
options
.
title
:
HtmlUtils
.
joinHtml
(
this
.
indicators
.
plus
,
this
.
options
.
title
));
if
(
this
.
editable
===
'toggle'
)
{
this
.
showCanEditMessage
(
this
.
mode
===
'display'
);
...
...
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