Ext.ns("Curriki.module.asterixReview");Curriki.module.asterixReview.selectedConfirm=function(b,a){Ext.Msg.show({title:_("curriki.crs.review.form.dialog.confirm_header"),msg:_("curriki.crs.review.asterixReview.selectedConfirm_"+b),buttons:Ext.Msg.OKCANCEL,fn:function(c){if(c=="ok"){var d=Ext.get("assetFullName").dom.value;Curriki.assets.SetAsterixReview(d,function(e){window.location.pathname=a},b)}else{document.getElementById("asterixReview").style.display="none";document.getElementById("isChild").checked=false;document.getElementById("asterixReview").value=""}},icon:Ext.MessageBox.QUESTION})};Curriki.module.asterixReview.removedConfirm=function(a){if(document.getElementById("currentStatus").value!=80){Ext.Msg.show({title:_("curriki.crs.review.form.dialog.confirm_header"),msg:_("curriki.crs.review.asterixReview.removedConfirm_"+document.getElementById("currentStatus").value),buttons:Ext.Msg.OKCANCEL,fn:function(b){if(b=="ok"){var c=Ext.get("assetFullName").dom.value;Curriki.assets.RemoveAsterixReview(c,function(d){window.location.pathname=a})}else{document.getElementById("asterixReview").style.display="none";document.getElementById("isChild").checked=true}},icon:Ext.MessageBox.QUESTION})}else{document.getElementById("asterixReview").style.display="none"}};
