Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
course-discovery
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
course-discovery
Commits
5cb6a8a3
Commit
5cb6a8a3
authored
Jun 23, 2017
by
Awais
Committed by
Awais Qureshi
Jun 23, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding a fix for the IE in publisher aap
EDUCATOR-723
parent
e5d26878
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
course_discovery/static/js/publisher/revision-history.js
+2
-2
No files found.
course_discovery/static/js/publisher/revision-history.js
View file @
5cb6a8a3
$
(
document
).
on
(
'change'
,
'#id_select_revisions'
,
function
(
e
)
{
var
revisionUrl
=
$
(
this
.
selectedOptions
).
data
(
'revisionUrl'
);
var
revisionUrl
=
$
(
this
).
find
(
':selected'
).
data
(
'revisionUrl'
);
// on changing the revision from drop-down set the href of button.
$
(
'#id_open_revision'
).
prop
(
"href"
,
this
.
value
);
...
...
@@ -17,7 +17,7 @@ $(document).on('change', '#id_select_revisions', function (e) {
//show revert button for any revision except current version.
if
(
this
.
selectedIndex
>
0
)
{
$
(
'#span_revert_revision'
).
show
();
btn_edit
.
prop
(
"href"
,
$
(
this
.
selectedOptions
).
data
(
'revisionId'
));
btn_edit
.
prop
(
"href"
,
$
(
this
).
find
(
':selected'
).
data
(
'revisionId'
));
var
reversionValue
=
$
(
'select#id_select_revisions option:selected'
).
data
(
'reversionValue'
);
//show accept-all button.
...
...
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