Sha256: 197766d71e8a347c485b758498ba54c6aadb101852134f4246a9beec23f9e5f6

Contents?: true

Size: 815 Bytes

Versions: 4

Compression:

Stored size: 815 Bytes

Contents

I"#(function() {
  $.rails.allowAction = function(element) {
    var $link, message, modal_html;
    message = element.data('confirm');
    if (!message) {
      return true;
    }
    $link = element.clone().removeAttr('data-confirm').removeAttr('data-icon').removeAttr('class');
    $link.addClass('primary');
    $link.html('<i class="fa fa-check"></i> Ja, dat weet ik zeker');
    modal_html = "<div id=\"modal\" class=\"modal\"><header class=\"big-header\">\n  <a href=\"#\" class=\"close_modal\" data-dismiss=\"modal\"><i class=\"icon-only\" data-icon=\"m\"></i></a>\n  <h3>" + message + "</h3>\n</header>\n\n<footer>\n  <a href=\"#\" data-dismiss=\"modal\">Nee, annuleren</a>\n</footer></div>";
    $(modal_html).modal();
    $('#modal footer').append($link);
    return false;
  };

}).call(this);
:ET

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spina-0.6.29 test/dummy/tmp/cache/assets/development/sprockets/v3.0/1Ko7LJNFtl67ydPNcPAHHpV_adg9lyJTGFs57zI7MY8.cache
spina-0.6.28 test/dummy/tmp/cache/assets/development/sprockets/v3.0/1Ko7LJNFtl67ydPNcPAHHpV_adg9lyJTGFs57zI7MY8.cache
spina-0.6.27 test/dummy/tmp/cache/assets/development/sprockets/v3.0/1Ko7LJNFtl67ydPNcPAHHpV_adg9lyJTGFs57zI7MY8.cache
spina-0.6.26 test/dummy/tmp/cache/assets/development/sprockets/v3.0/1Ko7LJNFtl67ydPNcPAHHpV_adg9lyJTGFs57zI7MY8.cache