aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/smarty3/admin_site.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/smarty3/admin_site.tpl')
-rw-r--r--view/tpl/smarty3/admin_site.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/view/tpl/smarty3/admin_site.tpl b/view/tpl/smarty3/admin_site.tpl
index 96b1746f7..eaf067c27 100644
--- a/view/tpl/smarty3/admin_site.tpl
+++ b/view/tpl/smarty3/admin_site.tpl
@@ -6,7 +6,7 @@
<script>
$(function(){
- $("#cnftheme").prettyPhoto({
+ $("#cnftheme").fancybox({
width: 800,
autoDimensions: false,
onStart: function(){
@@ -14,7 +14,7 @@
$("#cnftheme").attr('href',"{{$baseurl}}/admin/themes/"+theme);
},
onComplete: function(){
- $("div#prettyPhoto-content form").submit(function(e){
+ $("div#fancybox-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();
- $.prettyPhoto.close();
+ $.fancybox.close();
})
return false;