Quantcast
Viewing all articles
Browse latest Browse all 9615

Re: Upload PDF Feedback (built-in) - Quicklist Comments Sort UploadPDF

by Andrew C.  

Looking at my code - I can see that I left a botched attempt in there.


;this.load=function(){var t=n,r;r={method:"get",context:this,sync:false,data:{sesskey:M.cfg.sesskey,action:"loadquicklist",userid:this.editor.get("userid"),attemptnumber:this.editor.get("attemptnumber"),assignmentid:this.editor.get("assignmentid")},on:{success:function(t,n){var r;try{r=e.JSON.parse(n.responseText);if(r.error){return new M.core.ajaxException(r)}else{e.each(r,function(e){var t=new M.assignfeedback_editpdf.quickcomment(e.id,e.rawtext,e.width,e.colour);;this.comments.push(t)},this)}}catch(i){return new M.core.exception(i)}},failure:function(e,t){return M.core.exception(t.responseText)}}};e.io(t,r)}};


Viewing all articles
Browse latest Browse all 9615

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>