Sha256: 6e826e27026b4e75a99de51cd22dc0ec8a235125ffc9589ff11a86624b7a6764

Contents?: true

Size: 599 Bytes

Versions: 3

Compression:

Stored size: 599 Bytes

Contents

/*
 * This is the partial to be used for exceptions handled as the result of xhr actions
 *
 * where 'message' is the text from <%=file_name%>_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 lib/generators/templates/_error_dialog.js.erb
errational-0.9.09 lib/generators/templates/_error_dialog.js.erb
errational-0.8.16 lib/generators/templates/_error_dialog.js.erb