- Timestamp:
- 2022-02-01T11:54:46+13:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/js/jquery.themeswitcher.min.js
r30806 r36027 15 15 else 16 16 { 17 e.attr("href", "http://ajax.googleapis.com/ajax/libs/jqueryui/" + a.jqueryuiversion + "/themes/" + f.name + "/jquery-ui.css"); 18 $.ajax({url:gs.xsltParams.library_name + "?a=g&rt=r&configChangeName=cssTheme&configChangeValue=" + "http://ajax.googleapis.com/ajax/libs/jqueryui/" + a.jqueryuiversion + "/themes/" + f.name + "/jquery-ui.css"}); 17 var themeUrl = "https://code.jquery.com/ui/" + a.jqueryuiversion + "/themes/" + f.name + "/theme.css"; 18 19 e.attr("href", themeUrl); 20 $.ajax({url: gs.xsltParams.library_name + "?a=g&rt=r&configChangeName=cssTheme&configChangeValue=" + themeUrl}); 19 21 } 20 22 e.appendTo("head"); … … 59 61 rounded: true, 60 62 imgpath: "", 61 jqueryuiversion: "1. 8.10",63 jqueryuiversion: "1.13.0", 62 64 initialtext: gs.text.pref.switch_theme, 63 65 buttonpretext: "Theme:",
Note:
See TracChangeset
for help on using the changeset viewer.