diff --git a/common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee b/common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee
index d1a7b4d816..d1006ae9a9 100644
--- a/common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee
+++ b/common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee
@@ -576,12 +576,12 @@ class @CombinedOpenEnded
collapse_question: (event) =>
@prompt_container.slideToggle()
@prompt_container.toggleClass('open')
- if @question_header.text() == "Hide Prompt"
- new_text = "Show Prompt"
+ if @question_header.text() == "Hide Question"
+ new_text = "Show Question"
Logger.log 'oe_hide_question', {location: @location}
else
Logger.log 'oe_show_question', {location: @location}
- new_text = "Hide Prompt"
+ new_text = "Hide Question"
@question_header.text(new_text)
return false
@@ -621,13 +621,13 @@ class @CombinedOpenEnded
if @prompt_container.is(":hidden")==true
@prompt_container.slideToggle()
@prompt_container.toggleClass('open')
- @question_header.text("Hide Prompt")
+ @question_header.text("Hide Question")
prompt_hide: () =>
if @prompt_container.is(":visible")==true
@prompt_container.slideToggle()
@prompt_container.toggleClass('open')
- @question_header.text("Show Prompt")
+ @question_header.text("Show Question")
log_feedback_click: (event) ->
link_text = @$(event.target).html()
diff --git a/common/lib/xmodule/xmodule/js/src/peergrading/ice.min.js b/common/lib/xmodule/xmodule/js/src/peergrading/ice.min.js
index 7b83d82298..16a08c2c6f 100644
--- a/common/lib/xmodule/xmodule/js/src/peergrading/ice.min.js
+++ b/common/lib/xmodule/xmodule/js/src/peergrading/ice.min.js
@@ -1,224 +1,9 @@
-window.rangy=function(){function e(a,d){var b=typeof a[d];return b==t||!!(b==l&&a[d])||b=="unknown"}function b(a,d){return!!(typeof a[d]==l&&a[d])}function a(a,d){return typeof a[d]!=n}function d(a){return function(d,b){for(var f=b.length;f--;)if(!a(d,b[f]))return!1;return!0}}function f(a){return a&&j(a,r)&&v(a,k)}function g(a){window.alert("Rangy not supported in your browser. Reason: "+a);p.initialized=!0;p.supported=!1}function h(){if(!p.initialized){var a,d=!1,q=!1;e(document,"createRange")&&
-(a=document.createRange(),j(a,o)&&v(a,s)&&(d=!0),a.detach());if((a=b(document,"body")?document.body:document.getElementsByTagName("body")[0])&&e(a,"createTextRange"))a=a.createTextRange(),f(a)&&(q=!0);!d&&!q&&g("Neither Range nor TextRange are implemented");p.initialized=!0;p.features={implementsDomRange:d,implementsTextRange:q};d=F.concat(x);q=0;for(a=d.length;q
["+a.childNodes.length+"]":a.nodeName}function t(a){this._next=this.root=a}function n(a,d){this.node=a;this.offset=d}function s(a){this.code=this[a];this.codeName=a;this.message="DOMException: "+
-this.codeName}var o="undefined",k=e.util;k.areHostMethods(document,["createDocumentFragment","createElement","createTextNode"])||b.fail("document missing a Node creation method");k.isHostMethod(document,"getElementsByTagName")||b.fail("document missing getElementsByTagName method");var r=document.createElement("div");k.areHostMethods(r,["insertBefore","appendChild","cloneNode"])||b.fail("Incomplete Element implementation");r=document.createTextNode("test");k.areHostMethods(r,["splitText","deleteData",
-"insertData","appendData","cloneNode"])||b.fail("Incomplete Text Node implementation");var j=function(a,d){for(var b=a.length;b--;)if(a[b]===d)return!0;return!1};t.prototype={_current:null,hasNext:function(){return!!this._next},next:function(){var a=this._current=this._next,d;if(this._current){d=a.firstChild;if(!d)for(d=null;a!==this.root&&!(d=a.nextSibling);)a=a.parentNode;this._next=d}return this._current},detach:function(){this._current=this._next=this.root=null}};n.prototype={equals:function(a){return this.node===
-a.node&this.offset==a.offset},inspect:function(){return"[DomPosition("+l(this.node)+":"+this.offset+")]"}};s.prototype={INDEX_SIZE_ERR:1,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INVALID_STATE_ERR:11};s.prototype.toString=function(){return this.message};e.dom={arrayContains:j,getNodeIndex:a,getNodeLength:function(a){var d;return g(a)?a.length:(d=a.childNodes)?d.length:0},getCommonAncestor:d,isAncestorOf:function(a,d,b){for(d=b?d:
-d.parentNode;d;)if(d===a)return!0;else d=d.parentNode;return!1},getClosestAncestorIn:f,isCharacterDataNode:g,insertAfter:h,splitDataNode:function(a,d){var b=a.cloneNode(!1);b.deleteData(0,d);a.deleteData(d,a.length-d);h(b,a);return b},getDocument:i,getWindow:function(a){a=i(a);if(typeof a.defaultView!=o)return a.defaultView;else if(typeof a.parentWindow!=o)return a.parentWindow;else throw Error("Cannot get a window object for node");},getIframeWindow:function(a){if(typeof a.contentWindow!=o)return a.contentWindow;
-else if(typeof a.contentDocument!=o)return a.contentDocument.defaultView;else throw Error("getIframeWindow: No Window object found for iframe element");},getIframeDocument:function(a){if(typeof a.contentDocument!=o)return a.contentDocument;else if(typeof a.contentWindow!=o)return a.contentWindow.document;else throw Error("getIframeWindow: No Document object found for iframe element");},getBody:function(a){return k.isHostObject(a,"body")?a.body:a.getElementsByTagName("body")[0]},getRootContainer:function(a){for(var d;d=
-a.parentNode;)a=d;return a},comparePoints:function(b,e,g,j){var h;if(b==g)return e===j?0:e=d.childNodes.length?d.appendChild(a):d.insertBefore(a,d.childNodes[b]);return f}function i(d){for(var b,f,e=a(d.range).createDocumentFragment();f=d.next();){b=d.isPartiallySelectedSubtree();f=f.cloneNode(!b);b&&(b=d.getSubtreeIterator(),f.appendChild(i(b)),b.detach(!0));if(f.nodeType==10)throw new D("HIERARCHY_REQUEST_ERR");e.appendChild(f)}return e}function l(a,d,b){for(var f,e,b=b||{stop:!1};f=a.next();)if(a.isPartiallySelectedSubtree())if(d(f)===
-!1){b.stop=!0;break}else{if(f=a.getSubtreeIterator(),l(f,d,b),f.detach(!0),b.stop)break}else for(f=m.createIterator(f);e=f.next();)if(d(e)===!1){b.stop=!0;return}}function t(a){for(var d;a.next();)a.isPartiallySelectedSubtree()?(d=a.getSubtreeIterator(),t(d),d.detach(!0)):a.remove()}function n(d){for(var b,f=a(d.range).createDocumentFragment(),e;b=d.next();){d.isPartiallySelectedSubtree()?(b=b.cloneNode(!1),e=d.getSubtreeIterator(),b.appendChild(n(e)),e.detach(!0)):d.remove();if(b.nodeType==10)throw new D("HIERARCHY_REQUEST_ERR");
-f.appendChild(b)}return f}function s(a,d,b){var f=!(!d||!d.length),e,g=!!b;f&&(e=RegExp("^("+d.join("|")+")$"));var y=[];l(new k(a,!1),function(a){(!f||e.test(a.nodeType))&&(!g||b(a))&&y.push(a)});return y}function o(a){return"["+(typeof a.getName=="undefined"?"Range":a.getName())+"("+m.inspectNode(a.startContainer)+":"+a.startOffset+", "+m.inspectNode(a.endContainer)+":"+a.endOffset+")]"}function k(a,d){this.range=a;this.clonePartiallySelectedTextNodes=d;if(!a.collapsed){this.sc=a.startContainer;
-this.so=a.startOffset;this.ec=a.endContainer;this.eo=a.endOffset;var b=a.commonAncestorContainer;this.sc===this.ec&&m.isCharacterDataNode(this.sc)?(this.isSingleCharacterDataNode=!0,this._first=this._last=this._next=this.sc):(this._first=this._next=this.sc===b&&!m.isCharacterDataNode(this.sc)?this.sc.childNodes[this.so]:m.getClosestAncestorIn(this.sc,b,!0),this._last=this.ec===b&&!m.isCharacterDataNode(this.ec)?this.ec.childNodes[this.eo-1]:m.getClosestAncestorIn(this.ec,b,!0))}}function r(a){this.code=
-this[a];this.codeName=a;this.message="RangeException: "+this.codeName}function j(a,d,b){this.nodes=s(a,d,b);this._next=this.nodes[0];this._position=0}function q(a){return function(d,b){for(var f,e=b?d:d.parentNode;e;){f=e.nodeType;if(m.arrayContains(a,f))return e;e=e.parentNode}return null}}function v(a,d){if(Z(a,d))throw new r("INVALID_NODE_TYPE_ERR");}function p(a){if(!a.startContainer)throw new D("INVALID_STATE_ERR");}function x(a,d){if(!m.arrayContains(d,a.nodeType))throw new r("INVALID_NODE_TYPE_ERR");
-}function F(a,d){if(d<0||d>(m.isCharacterDataNode(a)?a.length:a.childNodes.length))throw new D("INDEX_SIZE_ERR");}function B(a,d){if(M(a,!0)!==M(d,!0))throw new D("WRONG_DOCUMENT_ERR");}function A(a){if($(a,!0))throw new D("NO_MODIFICATION_ALLOWED_ERR");}function z(a,d){if(!a)throw new D(d);}function w(a){p(a);if(!m.arrayContains(J,a.startContainer.nodeType)&&!M(a.startContainer,!0)||!m.arrayContains(J,a.endContainer.nodeType)&&!M(a.endContainer,!0)||!(a.startOffset<=(m.isCharacterDataNode(a.startContainer)?
-a.startContainer.length:a.startContainer.childNodes.length))||!(a.endOffset<=(m.isCharacterDataNode(a.endContainer)?a.endContainer.length:a.endContainer.childNodes.length)))throw Error("Range error: Range is no longer valid after DOM mutation ("+a.inspect()+")");}function H(){}function K(a){a.START_TO_START=R;a.START_TO_END=U;a.END_TO_END=aa;a.END_TO_START=V;a.NODE_BEFORE=W;a.NODE_AFTER=X;a.NODE_BEFORE_AND_AFTER=Y;a.NODE_INSIDE=S}function I(a){K(a);K(a.prototype)}function G(a,d){return function(){w(this);
-var b=this.startContainer,f=this.startOffset,e=this.commonAncestorContainer,y=new k(this,!0);if(b!==e)b=m.getClosestAncestorIn(b,e,!0),f=g(b),b=f.node,f=f.offset;l(y,A);y.reset();e=a(y);y.detach();d(this,b,f,b,f);return e}}function C(a,d,j){function C(a,d){return function(b){p(this);x(b,O);x(y(b),J);b=(a?f:g)(b);(d?h:l)(this,b.node,b.offset)}}function h(a,b,f){var e=a.endContainer,g=a.endOffset;if(b!==a.startContainer||f!==this.startOffset){if(y(b)!=y(e)||m.comparePoints(b,f,e,g)==1)e=b,g=f;d(a,b,
-f,e,g)}}function l(a,b,f){var e=a.startContainer,g=a.startOffset;if(b!==a.endContainer||f!==this.endOffset){if(y(b)!=y(e)||m.comparePoints(b,f,e,g)==-1)e=b,g=f;d(a,e,g,b,f)}}function M(a,b,f){(b!==a.startContainer||f!==this.startOffset||b!==a.endContainer||f!==this.endOffset)&&d(a,b,f,b,f)}a.prototype=new H;e.util.extend(a.prototype,{setStart:function(a,d){p(this);v(a,!0);F(a,d);h(this,a,d)},setEnd:function(a,d){p(this);v(a,!0);F(a,d);l(this,a,d)},setStartBefore:C(!0,!0),setStartAfter:C(!1,!0),setEndBefore:C(!0,
-!1),setEndAfter:C(!1,!1),collapse:function(a){w(this);a?d(this,this.startContainer,this.startOffset,this.startContainer,this.startOffset):d(this,this.endContainer,this.endOffset,this.endContainer,this.endOffset)},selectNodeContents:function(a){p(this);v(a,!0);d(this,a,0,a,m.getNodeLength(a))},selectNode:function(a){p(this);v(a,!1);x(a,O);var b=f(a),a=g(a);d(this,b.node,b.offset,a.node,a.offset)},extractContents:G(n,d),deleteContents:G(t,d),canSurroundContents:function(){w(this);A(this.startContainer);
-A(this.endContainer);var a=new k(this,!0),d=a._first&&b(a._first,this)||a._last&&b(a._last,this);a.detach();return!d},detach:function(){j(this)},splitBoundaries:function(){w(this);var a=this.startContainer,b=this.startOffset,f=this.endContainer,e=this.endOffset,g=a===f;m.isCharacterDataNode(f)&&e>0&&e0&&b=m.getNodeIndex(a)&&e++,b=0);d(this,a,b,f,e)},normalizeBoundaries:function(){w(this);
-var a=this.startContainer,b=this.startOffset,f=this.endContainer,e=this.endOffset,g=function(a){var d=a.nextSibling;if(d&&d.nodeType==a.nodeType)f=a,e=a.length,a.appendData(d.data),d.parentNode.removeChild(d)},y=function(d){var g=d.previousSibling;if(g&&g.nodeType==d.nodeType){a=d;var y=d.length;b=g.length;d.insertData(0,g.data);g.parentNode.removeChild(g);a==f?(e+=b,f=a):f==d.parentNode&&(g=m.getNodeIndex(d),e==g?(f=d,e=y):e>g&&e--)}},j=!0;m.isCharacterDataNode(f)?f.length==e&&g(f):(e>0&&(j=f.childNodes[e-
-1])&&m.isCharacterDataNode(j)&&g(j),j=!this.collapsed);j?m.isCharacterDataNode(a)?b==0&&y(a):b0?Y:W:d>0?X:S},comparePoint:function(a,d){w(this);z(a,"HIERARCHY_REQUEST_ERR");B(a,this.startContainer);if(m.comparePoints(a,d,this.startContainer,this.startOffset)<0)return-1;else if(m.comparePoints(a,d,this.endContainer,this.endOffset)>0)return 1;return 0},createContextualFragment:function(d){p(this);var b=a(this),f=b.createElement("div");f.innerHTML=d;for(d=
-b.createDocumentFragment();b=f.firstChild;)d.appendChild(b);return d},toHtml:function(){w(this);var d=a(this).createElement("div");d.appendChild(this.cloneContents());return d.innerHTML},intersectsNode:function(d,b){w(this);z(d,"NOT_FOUND_ERR");if(m.getDocument(d)!==a(this))return!1;var f=d.parentNode,e=m.getNodeIndex(d);z(f,"NOT_FOUND_ERR");var g=m.comparePoints(f,e,this.endContainer,this.endOffset),f=m.comparePoints(f,e+1,this.startContainer,this.startOffset);return b?g<=0&&f>=0:g<0&&f>0},isPointInRange:function(a,
-d){w(this);z(a,"HIERARCHY_REQUEST_ERR");B(a,this.startContainer);return m.comparePoints(a,d,this.startContainer,this.startOffset)>=0&&m.comparePoints(a,d,this.endContainer,this.endOffset)<=0},intersectsRange:function(d,b){w(this);if(a(d)!=a(this))throw new D("WRONG_DOCUMENT_ERR");var f=m.comparePoints(this.startContainer,this.startOffset,d.endContainer,d.endOffset),e=m.comparePoints(this.endContainer,this.endOffset,d.startContainer,d.startOffset);return b?f<=0&&e>=0:f<0&&e>0},intersection:function(a){if(this.intersectsRange(a)){var d=
-m.comparePoints(this.startContainer,this.startOffset,a.startContainer,a.startOffset),b=m.comparePoints(this.endContainer,this.endOffset,a.endContainer,a.endOffset),f=this.cloneRange();d==-1&&f.setStart(a.startContainer,a.startOffset);b==1&&f.setEnd(a.endContainer,a.endOffset);return f}return null},union:function(a){if(this.intersectsRange(a,!0)){var d=this.cloneRange();m.comparePoints(a.startContainer,a.startOffset,this.startContainer,this.startOffset)==-1&&d.setStart(a.startContainer,a.startOffset);
-m.comparePoints(a.endContainer,a.endOffset,this.endContainer,this.endOffset)==1&&d.setEnd(a.endContainer,a.endOffset);return d}else throw new r("Ranges do not intersect");},containsNode:function(a,d){return d?this.intersectsNode(a,!1):this.compareNode(a)==S},containsNodeContents:function(a){return this.comparePoint(a,0)>=0&&this.comparePoint(a,m.getNodeLength(a))<=0},containsRange:function(a){return this.intersection(a).equals(a)},containsNodeText:function(a){var d=this.cloneRange();d.selectNode(a);
-var b=d.getNodes([3]);return b.length>0?(d.setStart(b[0],0),a=b.pop(),d.setEnd(a,a.length),a=this.containsRange(d),d.detach(),a):this.containsNodeContents(a)},createNodeIterator:function(a,d){w(this);return new j(this,a,d)},getNodes:function(a,d){w(this);return s(this,a,d)},getDocument:function(){return a(this)},collapseBefore:function(a){p(this);this.setEndBefore(a);this.collapse(!1)},collapseAfter:function(a){p(this);this.setStartAfter(a);this.collapse(!0)},getName:function(){return"DomRange"},
-equals:function(a){return E.rangesEqual(this,a)},inspect:function(){return o(this)}};C(E,N,function(a){p(a);a.startContainer=a.startOffset=a.endContainer=a.endOffset=null;a.collapsed=a.commonAncestorContainer=null;d(a,"detach",null);a._listeners=null});e.rangePrototype=H.prototype;E.rangeProperties=T;E.RangeIterator=k;E.copyComparisonConstants=I;E.createPrototypeRange=C;E.inspect=o;E.getRangeDocument=a;E.rangesEqual=function(a,d){return a.startContainer===d.startContainer&&a.startOffset===d.startOffset&&
-a.endContainer===d.endContainer&&a.endOffset===d.endOffset};e.DomRange=E;e.RangeException=r});
-rangy.createModule("WrappedRange",function(e){function b(a,d,b,e){var h=a.duplicate();h.collapse(b);var k=h.parentElement();f.isAncestorOf(d,k,!0)||(k=d);if(!k.canHaveHTML)return new g(k.parentNode,f.getNodeIndex(k));var d=f.getDocument(k).createElement("span"),r,j=b?"StartToStart":"StartToEnd";do k.insertBefore(d,d.previousSibling),h.moveToElementText(d);while((r=h.compareEndPoints(j,a))>0&&d.previousSibling);j=d.nextSibling;if(r==-1&&j&&f.isCharacterDataNode(j)){h.setEndPoint(b?"EndToStart":"EndToEnd",
-a);if(/[\r\n]/.test(j.data)){k=h.duplicate();b=k.text.replace(/\r\n/g,"\r").length;for(b=k.moveStart("character",b);k.compareEndPoints("StartToEnd",k)==-1;)b++,k.moveStart("character",1)}else b=h.text.length;k=new g(j,b)}else j=(e||!b)&&d.previousSibling,k=(b=(e||b)&&d.nextSibling)&&f.isCharacterDataNode(b)?new g(b,0):j&&f.isCharacterDataNode(j)?new g(j,j.length):new g(k,f.getNodeIndex(d));d.parentNode.removeChild(d);return k}function a(a,d){var b,e,g=a.offset,h=f.getDocument(a.node),r=h.body.createTextRange(),
-j=f.isCharacterDataNode(a.node);j?(b=a.node,e=b.parentNode):(b=a.node.childNodes,b=g12