Sha256: 00f93176d684fa34bfa5c64102706758dc6250d3e6c7678d6b2d75a8b5ec90a0

Contents?: true

Size: 729 Bytes

Versions: 100

Compression:

Stored size: 729 Bytes

Contents

(function ($) {
  $.fn.extend({
    postlink: function (options) {
      return this.each(function () {
        $(this).click(function (e) {
          var frm = $("<form>");
          frm.attr({'action': $(this).attr('href'), 'method': 'post'});
          frm.appendTo("body");
          frm.submit();
          e.preventDefault();
        });
      });
    }
  });

  $(function () {
    $('.postlink').postlink();

    $('table.flow span.step-label').click(function (e) {
      var stepData = $(this).siblings('div.action');
      stepData.slideToggle();
    });

    $('.plan-step .step-label').click(function (e) {
      var stepData = $(this).siblings('div.action');
      stepData.slideToggle();
    });
  });

})(jQuery);

Version data entries

100 entries across 100 versions & 1 rubygems

Version Path
dynflow-1.0.5 web/assets/javascripts/application.js
dynflow-1.0.4 web/assets/javascripts/application.js
dynflow-1.0.3 web/assets/javascripts/application.js
dynflow-1.0.2 web/assets/javascripts/application.js
dynflow-1.0.1 web/assets/javascripts/application.js
dynflow-1.0.0 web/assets/javascripts/application.js
dynflow-0.8.37 web/assets/javascripts/application.js
dynflow-0.8.36 web/assets/javascripts/application.js
dynflow-0.8.35 web/assets/javascripts/application.js
dynflow-0.8.34 web/assets/javascripts/application.js
dynflow-0.8.33 web/assets/javascripts/application.js
dynflow-0.8.32 web/assets/javascripts/application.js
dynflow-0.8.31 web/assets/javascripts/application.js
dynflow-0.8.30 web/assets/javascripts/application.js
dynflow-0.8.29 web/assets/javascripts/application.js
dynflow-0.8.28 web/assets/javascripts/application.js
dynflow-0.8.27 web/assets/javascripts/application.js
dynflow-0.8.26 web/assets/javascripts/application.js
dynflow-0.8.25 web/assets/javascripts/application.js
dynflow-0.8.24 web/assets/javascripts/application.js