diff --git a/ietf/templates/iesg/agenda_documents.html b/ietf/templates/iesg/agenda_documents.html
index a64b7f346..738546b51 100644
--- a/ietf/templates/iesg/agenda_documents.html
+++ b/ietf/templates/iesg/agenda_documents.html
@@ -128,10 +128,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
{% if t.docs.s333 %}
{% endif %}
{% for doc in t.docs.s333 %}{% include "iesg/agenda_documents_row.html" %}{%endfor%}
-{% if user|in_group:"Secretariat,Area_Director" %}
-
-{% endif %}
-
{% endfor %}
diff --git a/static/js/base.js b/static/js/base.js
index a66100209..a24ac900b 100644
--- a/static/js/base.js
+++ b/static/js/base.js
@@ -33,7 +33,7 @@
function showBallot(draftName, editPositionUrl) {
var handleEditPosition = function() {
IETF.ballotDialog.hide();
- window.location = editPositionUrl;
+ window.location = IETF.editPositionUrl;
};
var handleClose = function() {
IETF.ballotDialog.hide();
@@ -58,6 +58,7 @@ function showBallot(draftName, editPositionUrl) {
IETF.ballotDialog.render();
}
document.getElementById("ballot_dialog_name").innerHTML = draftName;
+ IETF.editPositionUrl = editPositionUrl;
IETF.ballotDialog.show();