Fix Change request path from disable to enable (#30) (#33)

diff --git a/elastic-job-cloud-scheduler/src/main/resources/console/js/app/apps_overview.js b/elastic-job-cloud-scheduler/src/main/resources/console/js/app/apps_overview.js
index 8778773..20424ad 100644
--- a/elastic-job-cloud-scheduler/src/main/resources/console/js/app/apps_overview.js
+++ b/elastic-job-cloud-scheduler/src/main/resources/console/js/app/apps_overview.js
@@ -113,8 +113,8 @@
     $(document).on("click", "button[operation='enableApp'][data-toggle!='modal']", function(event) {
         var appName = $(event.currentTarget).attr("appName");
         $.ajax({
-            url: "/api/app/" + appName + "/disable",
-            type: "DELETE",
+            url: "/api/app/" + appName + "/enable",
+            type: "POST",
             contentType: "application/json",
             success: function(result) {
                 showSuccessDialog();
@@ -169,7 +169,7 @@
 
 function renderApp(app) {
     $("#app-name").attr("value", app.appName);
-    $("#cpu-count").attr("value", app.cpuCount); 
+    $("#cpu-count").attr("value", app.cpuCount);
     $("#app-memory").attr("value", app.memoryMB);
     $("#bootstrap-script").attr("value", app.bootstrapScript);
     $("#app-url").attr("value", app.appURL);
diff --git a/elastic-job-cloud-scheduler/src/main/resources/console/js/job/jobs_overview.js b/elastic-job-cloud-scheduler/src/main/resources/console/js/job/jobs_overview.js
index 4b571b7..348ac84 100644
--- a/elastic-job-cloud-scheduler/src/main/resources/console/js/job/jobs_overview.js
+++ b/elastic-job-cloud-scheduler/src/main/resources/console/js/job/jobs_overview.js
@@ -161,8 +161,8 @@
             showFailDialog();
         } else {
             $.ajax({
-                url: "/api/job/" + jobName + "/disable",
-                type: "DELETE",
+                url: "/api/job/" + jobName + "/enable",
+                type: "POST",
                 contentType: "application/json",
                 success: function(result) {
                     $("#job-table").bootstrapTable("refresh");
@@ -196,7 +196,7 @@
     $("#job-execution-type").val(job.jobExecutionType);
     $("#sharding-total-count").attr("value", job.shardingTotalCount);
     $("#job-parameter").attr("value", job.jobParameter);
-    $("#cpu-count").attr("value", job.cpuCount); 
+    $("#cpu-count").attr("value", job.cpuCount);
     $("#job-memory").attr("value", job.memoryMB);
     $("#bean-name").attr("value", job.beanName);
     $("#application-context").attr("value", job.applicationContext);