Sha256: 0b4bfbd74712a95a235529b38282418e4ebf53c5c0a12ee492d6bfea3da1cf92

Contents?: true

Size: 1.38 KB

Versions: 52

Compression:

Stored size: 1.38 KB

Contents

$(document).ready(function(){
  $(".hl7-file-browser a").on("click", function(e) {
    console.log($(this).data("body"));
    $("#feeds_hl7_test_form_body").val($(this).data("body"))
  });

//   $(".file-viewer form").on("submit", function(event) {
//     console.log("asassas");
//     event.preventDefault();
//     console.log(this)

//     var valuesToSubmit = this.el.serialize();
//     var self = this;
// //#url: self.el.attr("action"), //submits it to the given url of the form

//     $.ajax({
//       type: "POST",
//       data: valuesToSubmit,
//       dataType: "JSON",
//       statusCode: {
//         201: function(contact) {
//           // self._onSuccess(contact);
//           console.log("asass")
//         },
//         400: function(jqXHR) {
//           var errors = jqXHR.responseJSON;
//           // self._onErrors(errors);
//           console.log("error")
//         }
//       }
//     });
//   });

  // this.el.on("submit", function(event) { self._onSubmit(event) });
  // $.ajax({
  //   type: "POST",
  //   url: self.el.attr("action"), //submits it to the given url of the form
  //   data: valuesToSubmit,
  //   dataType: "JSON",
  //   statusCode: {
  //     201: function(contact) {
  //       self._onSuccess(contact);
  //     },
  //     400: function(jqXHR) {
  //       var errors = jqXHR.responseJSON;
  //       self._onErrors(errors);
  //     }
  //   }
  // });
});

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
renalware-core-2.1.1 app/assets/javascripts/renalware/components/feeds.js
renalware-core-2.1.0 app/assets/javascripts/renalware/components/feeds.js
renalware-core-2.0.167 app/assets/javascripts/renalware/components/feeds.js
renalware-core-2.0.166 app/assets/javascripts/renalware/components/feeds.js
renalware-core-2.0.165 app/assets/javascripts/renalware/components/feeds.js
renalware-core-2.0.164 app/assets/javascripts/renalware/components/feeds.js
renalware-core-2.0.163 app/assets/javascripts/renalware/components/feeds.js
renalware-core-2.0.162 app/assets/javascripts/renalware/components/feeds.js
renalware-core-2.0.161 app/assets/javascripts/renalware/components/feeds.js
renalware-core-2.0.160 app/assets/javascripts/renalware/components/feeds.js
renalware-core-2.0.159 app/assets/javascripts/renalware/components/feeds.js
renalware-core-2.0.158 app/assets/javascripts/renalware/components/feeds.js
renalware-core-2.0.157 app/assets/javascripts/renalware/components/feeds.js
renalware-core-2.0.156 app/assets/javascripts/renalware/components/feeds.js
renalware-core-2.0.155 app/assets/javascripts/renalware/components/feeds.js
renalware-core-2.0.153 app/assets/javascripts/renalware/components/feeds.js
renalware-core-2.0.152 app/assets/javascripts/renalware/components/feeds.js
renalware-core-2.0.151 app/assets/javascripts/renalware/components/feeds.js
renalware-core-2.0.149 app/assets/javascripts/renalware/components/feeds.js
renalware-core-2.0.148 app/assets/javascripts/renalware/components/feeds.js