Commit 5cb6a8a3 by Awais Committed by Awais Qureshi

Adding a fix for the IE in publisher aap

EDUCATOR-723
parent e5d26878
$(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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment