mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
Use minimal mode to change site theme settings
- Use textarea in colorbox instead of inline HTML - Add mode propagation to site theme setting form - Set theme for site theme settings form to load JS dependencies
This commit is contained in:
parent
62f5438bb3
commit
838c0f96de
3 changed files with 10 additions and 20 deletions
|
@ -10,7 +10,8 @@
|
|||
var theme = $("#id_theme :selected").val();
|
||||
$("#cnftheme").attr('href',"{{$baseurl}}/admin/themes/"+theme);
|
||||
},*/
|
||||
href: "{{$baseurl}}/admin/themes/" + $("#id_theme :selected").val(),
|
||||
iframe: true,
|
||||
href: "{{$baseurl}}/admin/themes/" + $("#id_theme :selected").val() + "?mode=minimal",
|
||||
onComplete: function(){
|
||||
$("div#fancybox-content form").submit(function(e){
|
||||
var url = $(this).attr('action');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue