Skip to content

Commit 93dd40f

Browse files
committed
Resolving merge conflicts with recently merged branches.
2 parents 72d9645 + bbbf0e1 commit 93dd40f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/assets/javascripts/recurring_select_dialog.js.coffee.erb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ window.RecurringSelectDialog =
4343
@inner_holder.css new_style_hash
4444
@inner_holder.trigger "recurring_select:dialog_positioned"
4545
else
46-
@content.css {"width": @content.width()+"px"}
4746
@inner_holder.addClass "animated"
4847
@inner_holder.animate new_style_hash, 200, =>
4948
@inner_holder.removeClass "animated"
@@ -167,9 +166,8 @@ window.RecurringSelectDialog =
167166
summaryFetch: ->
168167
return if !(@current_rule.hash? && (rule_type = @current_rule.hash.rule_type)?)
169168
@current_rule.hash['week_start'] = $.fn.recurring_select.texts["first_day_of_week"]
170-
@content.css {"width": @content.width()+"px"}
171169
$.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"]}",
173171
type: "POST",
174172
data: @current_rule.hash
175173
success: @summaryFetchSuccess

0 commit comments

Comments
 (0)