Sha256: 456c15a443196e32de03a59b21d8ac3b4419d6115e5c18a9d3e3557bd35f9a95

Contents?: true

Size: 506 Bytes

Versions: 41

Compression:

Stored size: 506 Bytes

Contents

;(function() {
  "use strict";

  // Report actions associated with task statuses
  $(document).on("page:change", function() {
    $("a.task-status").not(".disabled").on("click", function(event) {
      var $target, $taskStatusId;
      
      $target = $(event.currentTarget);
      $taskStatusId = $target.data("task-status-id");
      $.ajax({
        async: false,
        dataType: "script",
        type: "PUT",
        url: "/participants/task_status/" + $taskStatusId
      });
    });
  });
})();

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
think_feel_do_engine-3.16.3 app/assets/javascripts/think_feel_do_engine/task_status.js
think_feel_do_engine-3.16.2 app/assets/javascripts/think_feel_do_engine/task_status.js
think_feel_do_engine-3.16.1 app/assets/javascripts/think_feel_do_engine/task_status.js
think_feel_do_engine-3.15.7 app/assets/javascripts/think_feel_do_engine/task_status.js
think_feel_do_engine-3.16.0 app/assets/javascripts/think_feel_do_engine/task_status.js
think_feel_do_engine-3.15.6 app/assets/javascripts/think_feel_do_engine/task_status.js
think_feel_do_engine-3.15.5 app/assets/javascripts/think_feel_do_engine/task_status.js
think_feel_do_engine-3.15.4 app/assets/javascripts/think_feel_do_engine/task_status.js
think_feel_do_engine-3.15.3 app/assets/javascripts/think_feel_do_engine/task_status.js
think_feel_do_engine-3.15.2 app/assets/javascripts/think_feel_do_engine/task_status.js
think_feel_do_engine-3.15.1 app/assets/javascripts/think_feel_do_engine/task_status.js
think_feel_do_engine-3.15.0 app/assets/javascripts/think_feel_do_engine/task_status.js
think_feel_do_engine-3.14.9 app/assets/javascripts/think_feel_do_engine/task_status.js
think_feel_do_engine-3.14.8 app/assets/javascripts/think_feel_do_engine/task_status.js
think_feel_do_engine-3.14.7 app/assets/javascripts/think_feel_do_engine/task_status.js
think_feel_do_engine-3.14.6 app/assets/javascripts/think_feel_do_engine/task_status.js
think_feel_do_engine-3.14.5 app/assets/javascripts/think_feel_do_engine/task_status.js
think_feel_do_engine-3.14.4 app/assets/javascripts/think_feel_do_engine/task_status.js
think_feel_do_engine-3.14.3 app/assets/javascripts/think_feel_do_engine/task_status.js
think_feel_do_engine-3.14.2 app/assets/javascripts/think_feel_do_engine/task_status.js