Skip to content

Commit 6d7b72d

Browse files
committed
Fix for ticket ietf-tools#374 (all in base.js) and removal of a vestigial "save all changes" button from the iesg/agenda/documents page
M ietf/templates/iesg/agenda_documents.html M static/js/base.js - Legacy-Id: 2512
1 parent ba95982 commit 6d7b72d

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

private/rjs/ballotDialog/ietf/templates/iesg/agenda_documents.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,6 @@ <h1>Documents on Future IESG Telechat Agendas</h1>
128128
{% if t.docs.s333 %}<tr class="header"><td colspan="5">3.3.3 For Action</td></tr>{% endif %}
129129
{% for doc in t.docs.s333 %}{% include "iesg/agenda_documents_row.html" %}{%endfor%}
130130

131-
{% if user|in_group:"Secretariat,Area_Director" %}
132-
<tr class="header"><td colspan="5"><input type="submit" value="Save All Changes"/></td></tr>
133-
{% endif %}
134-
135131
{% endfor %}
136132

137133
</table>

private/rjs/ballotDialog/static/js/base.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
function showBallot(draftName, editPositionUrl) {
3434
var handleEditPosition = function() {
3535
IETF.ballotDialog.hide();
36-
window.location = editPositionUrl;
36+
window.location = IETF.editPositionUrl;
3737
};
3838
var handleClose = function() {
3939
IETF.ballotDialog.hide();
@@ -58,6 +58,7 @@ function showBallot(draftName, editPositionUrl) {
5858
IETF.ballotDialog.render();
5959
}
6060
document.getElementById("ballot_dialog_name").innerHTML = draftName;
61+
IETF.editPositionUrl = editPositionUrl;
6162

6263
IETF.ballotDialog.show();
6364

0 commit comments

Comments
 (0)