~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/tutorial/media/tutorial.js

Remove an unneeded query string from a now-RESTful tutorial service call.

Show diffs side-by-side

added added

removed removed

Lines of Context:
581
581
    /* Get the "value" of the selected option */
582
582
    var date = dropdown.options[dropdown.selectedIndex].getAttribute("value");
583
583
 
584
 
    var args = {"exercise": filename, "action": "getattempt", "date": date};
585
 
 
586
584
    /* Send the form as multipart/form-data, since we are sending a whole lump
587
585
     * of Python code, it should be treated like a file upload. */
588
586
    /* AJAX callback function */
613
611
        
614
612
    call_path = "api/subjects/" + subject + '/+worksheets/' + worksheet + '/' 
615
613
                        + filename + '/+attempts/' + username + '/' + date;
616
 
    ajax_call(callback, call_path, "", args, "GET");
 
614
    ajax_call(callback, call_path, "", {}, "GET");
617
615
}