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-0.8.3 web/assets/javascripts/application.js
dynflow-0.8.2 web/assets/javascripts/application.js
dynflow-0.8.1 web/assets/javascripts/application.js
dynflow-0.8.0 web/assets/javascripts/application.js
dynflow-0.7.9 web/assets/javascripts/application.js
dynflow-0.7.8 web/assets/javascripts/application.js
dynflow-0.7.7 web/assets/javascripts/application.js
dynflow-0.7.6 web/assets/javascripts/application.js
dynflow-0.7.5 web/assets/javascripts/application.js
dynflow-0.7.4 web/assets/javascripts/application.js
dynflow-0.7.3 web/assets/javascripts/application.js
dynflow-0.7.2 web/assets/javascripts/application.js
dynflow-0.7.1 web/assets/javascripts/application.js
dynflow-0.7.0 web/assets/javascripts/application.js
dynflow-0.6.2 web/assets/javascripts/application.js
dynflow-0.6.1 web/assets/javascripts/application.js
dynflow-0.6.0 web/assets/javascripts/application.js
dynflow-0.5.1 web/assets/javascripts/application.js
dynflow-0.5.0 web/assets/javascripts/application.js
dynflow-0.4.1 web/assets/javascripts/application.js