lib/papermill/papermill_helper.rb in papermill-0.10.3 vs lib/papermill/papermill_helper.rb in papermill-0.10.4
- old
+ new
@@ -15,10 +15,10 @@
html << %{<script type="text/javascript">}
["SWFUPLOAD_PENDING", "SWFUPLOAD_LOADING", "SWFUPLOAD_ERROR"].each do |js_constant|
html << %{var #{js_constant} = "#{I18n.t(js_constant, :scope => "papermill")}";}
end
html << %{</script>}
- html << javascript_include_tag("/papermill/papermill", "papermill/swfupload")
+ html << javascript_include_tag("/papermill/papermill", "/papermill/swfupload")
unless @content_for_papermill_inline_js.blank?
html << '<script type="text/javascript">jQuery(document).ready(function() {'
html << @content_for_papermill_inline_js
html << '});</script>'
end
\ No newline at end of file