I found "Close" text on modal dialog on close button on Ubuntu 20.04
also.
Redmine package uses distributed jQuery library (libjs-jquery package) but uses
Redmine's local jQuery-UI library files.
The difference of version causes some trouble.
1. Should be change is link for distributed package
usr/share/javascript/jquery-ui/ui ->
usr/share/redmine/public/javascripts/jquery-ui
usr/share/javascript/jquery-ui/themes/base ->
usr/share/redmine/public/stylesheets/jquery
But this link maybe remove libjs-jquery-ui's files in overwrite
update....
2. To use distributed package.
---------------------- app/helpers/application_helper.rb ----------------------
index 22d178c..94b3708 100644
@@ -1391,7 +1391,7 @@ module ApplicationHelper
"beforeShow: beforeShowDatePicker};")
jquery_locale = l('jquery.locale', :default => current_language.to_s)
unless jquery_locale == 'en'
- tags << javascript_include_tag("i18n/datepicker-#{jquery_locale}.js")
+ tags <<
javascript_include_tag("jquery-ui/i18n/datepicker-#{jquery_locale}.js")
end
tags
end
----------------------- app/views/layouts/base.html.erb -----------------------
index 48ba562..d3e1944 100644
@@ -9,7 +9,7 @@
<meta name="keywords" content="issue,bug,tracker" />
<%= csrf_meta_tag %>
<%= favicon %>
-<%= stylesheet_link_tag 'jquery/jquery-ui-1.11.0', 'application',
'responsive', :media => 'all' %>
+<%= stylesheet_link_tag 'jquery/jquery-ui', 'application', 'responsive',
:media => 'all' %>
<%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
<%= javascript_heads %>
<%= heads_for_theme %>
3. Some local files likes public/javascripts/i18n,
public/stylesheets/jquery/* already do not use.
4. Redmine local raphael.js also does not need due to use distributed
one.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1838407
Title:
Redmine Javascript Modal Dialog Not Appear
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/redmine/+bug/1838407/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs