Sha256: ffe5e153ed2db2ab170572391c1f3ce5d1f53b47090d5acad0e90cb6d5e6a67b

Contents?: true

Size: 393 Bytes

Versions: 5

Compression:

Stored size: 393 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
redmine_extensions-0.1.14 lib/generators/redmine_extensions/entity/templates/show.js.erb.erb
redmine_extensions-0.1.11 lib/generators/redmine_extensions/entity/templates/show.js.erb.erb
redmine_extensions-0.1.09 lib/generators/redmine_extensions/entity/templates/show.js.erb.erb
redmine_extensions-0.1.07 lib/generators/redmine_extensions/entity/templates/show.js.erb.erb
redmine_extensions-0.1.06 lib/generators/redmine_extensions/entity/templates/show.js.erb.erb