Skip to content

Commit

Permalink
fix: Removed protocol from admin javascript links.
Browse files Browse the repository at this point in the history
Co-authored-by: Karel Hovorka <git@karel-hovorka.eu>
Refs #740
  • Loading branch information
hovi authored May 27, 2024
1 parent cdf05b9 commit ed8f2bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/modeltranslation/admin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ The proposed way to include it is through the inner ``Media`` class of a
class Media:
js = (
'modeltranslation/js/force_jquery.js',
'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.24/jquery-ui.min.js',
'//ajax.googleapis.com/ajax/libs/jqueryui/1.8.24/jquery-ui.min.js',
'modeltranslation/js/tabbed_translation_fields.js',
)
css = {
Expand All @@ -262,8 +262,8 @@ by including this in your ``Media`` class instead:
class NewsAdmin(TranslationAdmin):
class Media:
js = (
'http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js',
'http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js',
'//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js',
'//ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js',
'modeltranslation/js/tabbed_translation_fields.js',
)
css = {
Expand Down

0 comments on commit ed8f2bc

Please sign in to comment.