Sha256: edfe1d289c96effce3510025957ee97bf3e2706b205a6cfa9aaf82f884775758

Contents?: true

Size: 421 Bytes

Versions: 64

Compression:

Stored size: 421 Bytes

Contents

var jAlert = function (message) {
    $('<div id="dialog" class="my-dialog" title="Ошибка"><p>'+message+'</p></div>').dialog({
        dialogClass: "no-close",
        modal: true,
        buttons: [
            {
                text: "OK",
                buttonClass: 'nn',
                click: function() {
                    $( this ).dialog( "close" );
                }
            }
        ]
    });
};

Version data entries

64 entries across 64 versions & 2 rubygems

Version Path
c80_estate-0.1.0.3 app/assets/javascript/c80_estate/lib/jalert.js
c80_estate-0.1.0.2 app/assets/javascript/c80_estate/lib/jalert.js
c80_estate-0.1.0.1 app/assets/javascript/c80_estate/lib/jalert.js
c80_estate-0.1.0 app/assets/javascript/c80_estate/lib/jalert.js