Skip to content
Browse files

Second bug fix, upping the patch # by one so bundler will actually work

  • Loading branch information...
1 parent d93b148 commit 7da74a30178f1a7c2509aca70611754c41dcbe5b @willrjmarshall willrjmarshall committed Mar 31, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 core/app/views/shared/admin/_resource_picker.html.erb
  2. +1 −1 core/refinerycms-core.gemspec
View
2 core/app/views/shared/admin/_resource_picker.html.erb
@@ -45,7 +45,7 @@
$('#no_resource_selected_<%= field %>').hide();
$('iframe#dialog_iframe').dialog("close");
$('iframe#dialog_iframe').remove().parents(".ui-dialog").remove();
- $('#<%= f.object_name %>_<%= field %>').val(callback_args.id);
+ $('#<%= f.object_name.gsub(/\]\[|[^-a-zA-Z0-9:.]/, "_").sub(/_$/, "") %>_<%= field %>').val(callback_args.id);
$('#current_resource_link_<%= field %>').attr('href', $('#current_resource_link_<%= field %>').attr('href').replace(/current_link=([^&])*&/, "current_link=" + callback_args.href + "&"));
$("#current_resource_<%= field %>").attr('href', callback_args.href);
$('#current_resource_text_<%= field %>').html(callback_args.html);
View
2 core/refinerycms-core.gemspec
@@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.name = %q{refinerycms-core}
- s.version = %q{0.9.9.14}
+ s.version = %q{0.9.9.15}
s.summary = %q{Core engine for Refinery CMS}
s.description = %q{The core of Refinery CMS. This handles the common functionality and is required by most engines}
s.date = %q{2011-03-31}

0 comments on commit 7da74a3

Please sign in to comment.
Something went wrong with that request. Please try again.