aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/admin_site.tpl
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2015-01-06 09:40:26 +1100
committerRedMatrix <info@friendica.com>2015-01-06 09:40:26 +1100
commitc45456fa3342bc72d30c20bafd029913930130aa (patch)
treef707891da9bd1c7272f04e455f33043bbb29ef1d /view/tpl/admin_site.tpl
parent074be42e234a9d44ffe7875ffef6eb7a5e22f013 (diff)
parent5ce5de73051e0d68d277dc189b3bcc4593d7ab8d (diff)
downloadvolse-hubzilla-c45456fa3342bc72d30c20bafd029913930130aa.tar.gz
volse-hubzilla-c45456fa3342bc72d30c20bafd029913930130aa.tar.bz2
volse-hubzilla-c45456fa3342bc72d30c20bafd029913930130aa.zip
Merge pull request #820 from pafcu/nomigrate
Steps towards not needing jquery-migrate
Diffstat (limited to 'view/tpl/admin_site.tpl')
-rwxr-xr-xview/tpl/admin_site.tpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/view/tpl/admin_site.tpl b/view/tpl/admin_site.tpl
index 0003ddfc0..caeddeecb 100755
--- a/view/tpl/admin_site.tpl
+++ b/view/tpl/admin_site.tpl
@@ -1,15 +1,15 @@
<script>
$(function(){
- $("#cnftheme").fancybox({
+ $("#cnftheme").colorbox({
width: 800,
- autoDimensions: false,
- onStart: function(){
+ onLoad: function(){
var theme = $("#id_theme :selected").val();
$("#cnftheme").attr('href',"{{$baseurl}}/admin/themes/"+theme);
},
onComplete: function(){
- $("div#fancybox-content form").submit(function(e){
+ $(this).colorbox.resize();
+ $("#colorbox form").submit(function(e){
var url = $(this).attr('action');
// can't get .serialize() to work...
var data={};