File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ window.RecurringSelectDialog =
43
43
@inner_holder.css new_style_hash
44
44
@inner_holder.trigger "recurring_select:dialog_positioned"
45
45
else
46
- @content.css {"width": @content.width()+"px"}
47
46
@inner_holder.addClass "animated"
48
47
@inner_holder.animate new_style_hash, 200, =>
49
48
@inner_holder.removeClass "animated"
@@ -167,9 +166,8 @@ window.RecurringSelectDialog =
167
166
summaryFetch: ->
168
167
return if !(@current_rule.hash? && (rule_type = @current_rule.hash.rule_type)?)
169
168
@current_rule.hash['week_start'] = $.fn.recurring_select.texts["first_day_of_week"]
170
- @content.css {"width": @content.width()+"px"}
171
169
$.ajax
172
- url: "/recurring_select/translate/#{$.fn.recurring_select.texts["locale_iso_code"]}",
170
+ url: "<%= Rails . application . config . action_controller . relative_url_root %> /recurring_select/translate/#{$.fn.recurring_select.texts["locale_iso_code"]}",
173
171
type: "POST",
174
172
data: @current_rule.hash
175
173
success: @summaryFetchSuccess
You can’t perform that action at this time.
0 commit comments