From 89f83a27fb2266c38b9382c6fc1ddde2fe27185a Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Mon, 16 Mar 2015 17:44:27 -0500 Subject: [PATCH] Minor - PSR-2 --- plugin/ticket/src/new_ticket.php | 70 +++++++++++++++++--------------- 1 file changed, 38 insertions(+), 32 deletions(-) diff --git a/plugin/ticket/src/new_ticket.php b/plugin/ticket/src/new_ticket.php index b423fc3338..e840674a01 100755 --- a/plugin/ticket/src/new_ticket.php +++ b/plugin/ticket/src/new_ticket.php @@ -46,7 +46,7 @@ function changeType() { $("#project_id").val(projects[id]); $("#other_area").val(other_area[id]); $("#email").val(email[id]); - if (parseInt(course_required[id]) == 0){ + if (parseInt(course_required[id]) == 0){ $("#divCourse").css("display", "none"); if( id != "CUR"){ $("#divEmail").css("display", "block"); @@ -54,11 +54,11 @@ function changeType() { } $("#course_id").disabled = true; $("#course_id").value = 0; - } else { + } else { $("#divCourse").css("display", "block"); $("#course_id").prop("disabled", false); $("#course_id").val(0); - } + } } function handleClick2(myRadio) { var user_id = myRadio.value; @@ -147,12 +147,12 @@ function add_image_form() {