Sha256: 96bc811b2e4e773839891e81f9286e522119e968552b521ec77386478ffd4c82

Contents?: true

Size: 811 Bytes

Versions: 5

Compression:

Stored size: 811 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 data-icon=\"j\"></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

5 entries across 5 versions & 1 rubygems

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