diff options
Diffstat (limited to 'view/tpl/smarty3/admin_site.tpl')
-rw-r--r-- | view/tpl/smarty3/admin_site.tpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/view/tpl/smarty3/admin_site.tpl b/view/tpl/smarty3/admin_site.tpl index eaf067c27..96b1746f7 100644 --- a/view/tpl/smarty3/admin_site.tpl +++ b/view/tpl/smarty3/admin_site.tpl @@ -6,7 +6,7 @@ <script> $(function(){ - $("#cnftheme").fancybox({ + $("#cnftheme").prettyPhoto({ width: 800, autoDimensions: false, onStart: function(){ @@ -14,7 +14,7 @@ $("#cnftheme").attr('href',"{{$baseurl}}/admin/themes/"+theme); }, onComplete: function(){ - $("div#fancybox-content form").submit(function(e){ + $("div#prettyPhoto-content form").submit(function(e){ var url = $(this).attr('action'); // can't get .serialize() to work... var data={}; @@ -29,7 +29,7 @@ $.post(url, data, function(data) { if(timer) clearTimeout(timer); NavUpdate(); - $.fancybox.close(); + $.prettyPhoto.close(); }) return false; |