Sha256: ca28f801ebe81d7f6f33d00b73749df0db491bf38cd548c708b4f199ade09c09

Contents?: true

Size: 593 Bytes

Versions: 3

Compression:

Stored size: 593 Bytes

Contents

/*
 * This is the partial to be used for exceptions handled as the result of xhr actions
 *
 * where 'message' is the text from rails_app_error.rb
 *
 */
jQuery('body').append('<div id="errational_error_dialog"></div>');
jQuery('#errational_error_dialog')
        .html('<%= message.html_safe %>')
        .dialog(
            {
                minHeight: 'auto',
                height: 'auto',
                modal: true,
                dialogClass: 'errational_class',
                title: 'Error!',
                resizable: false,
                width: 450
            }
        );

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
errational-0.12.04 test/rails_app/app/views/errational/_error_dialog.js.erb
errational-0.9.09 test/rails_app/app/views/errational/_error_dialog.js.erb
errational-0.8.16 test/rails_app/app/views/errational/_error_dialog.js.erb