htdocs/assets/js/edit.js
Function make_editable
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function make_editable() {
$.getJSON("/events/"+ get_current_event_id() +"/lock", function(data) {
var edit_div = $("<div></div>");
if(data.status === EDIT_UNLOCKED) {