aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorStefan Parviainen <saparvia@caterva.eu>2015-01-05 19:49:15 +0100
committerStefan Parviainen <saparvia@caterva.eu>2015-01-05 19:49:20 +0100
commitb320b8cbf35e84df76e236a7bc2cbd53047e4654 (patch)
tree5cbbc8c251d10c7e26dc9fd0b30d3cd3d982c914 /view/tpl
parentc9f26c8b7bb6b9e687ce38ae39d399e6f2173a70 (diff)
downloadvolse-hubzilla-b320b8cbf35e84df76e236a7bc2cbd53047e4654.tar.gz
volse-hubzilla-b320b8cbf35e84df76e236a7bc2cbd53047e4654.tar.bz2
volse-hubzilla-b320b8cbf35e84df76e236a7bc2cbd53047e4654.zip
Replace fancybox with colorbox
Diffstat (limited to 'view/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={};