Sha256: 9fb35390d98a419ada69c3124c8f36abd60cac062d306dc057ce2ad72eafe7ca

Contents?: true

Size: 401 Bytes

Versions: 15

Compression:

Stored size: 401 Bytes

Contents

var modal = $("#ajax-modal");
modal.html("<%%= j render(template: '<%= model_name_pluralize_underscored %>/show', formats: [:html]) %>");
showModal(modal.attr("id"));
var closeButton = {
  text: "<%%=j l(:button_close) %>",
  title: "<%%=j l(:button_close) %>",
  click: function() {$(this).dialog('close');},
  'class': 'button'
};
modal.dialog('option', {
  buttons: [closeButton, submitButton]
});

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
redmine_extensions-0.6.3 lib/generators/redmine_extensions/entity/templates/show.js.erb.erb
redmine_extensions-0.6.2 lib/generators/redmine_extensions/entity/templates/show.js.erb.erb
redmine_extensions-0.6.1 lib/generators/redmine_extensions/entity/templates/show.js.erb.erb
redmine_extensions-0.6.0 lib/generators/redmine_extensions/entity/templates/show.js.erb.erb
redmine_extensions-0.4.5 lib/generators/redmine_extensions/entity/templates/show.js.erb.erb
redmine_extensions-0.5.1 lib/generators/redmine_extensions/entity/templates/show.js.erb.erb
redmine_extensions-0.4.4 lib/generators/redmine_extensions/entity/templates/show.js.erb.erb
redmine_extensions-0.4.3 lib/generators/redmine_extensions/entity/templates/show.js.erb.erb
redmine_extensions-0.4.1 lib/generators/redmine_extensions/entity/templates/show.js.erb.erb
redmine_extensions-0.4.0 lib/generators/redmine_extensions/entity/templates/show.js.erb.erb
redmine_extensions-0.4.0.beta lib/generators/redmine_extensions/entity/templates/show.js.erb.erb
redmine_extensions-0.3.11 lib/generators/redmine_extensions/entity/templates/show.js.erb.erb
redmine_extensions-0.3.10 lib/generators/redmine_extensions/entity/templates/show.js.erb.erb
redmine_extensions-0.3.9 lib/generators/redmine_extensions/entity/templates/show.js.erb.erb
redmine_extensions-0.3.8 lib/generators/redmine_extensions/entity/templates/show.js.erb.erb