From f202a86fcab46cf8aa39768c2808c415f264026b Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 18 Oct 2013 14:16:59 +0000 Subject: bug 2975 fixed: remove useless "," at the end of arrays, because it breaks Internet Explorer 7 :-/ git-svn-id: http://piwigo.org/svn/branches/2.5@24975 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/cat_list.tpl | 2 +- admin/themes/default/template/include/add_album.inc.tpl | 4 ++-- admin/themes/default/template/photos_add_direct.tpl | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/admin/themes/default/template/cat_list.tpl b/admin/themes/default/template/cat_list.tpl index 859034a77..987cb0f81 100644 --- a/admin/themes/default/template/cat_list.tpl +++ b/admin/themes/default/template/cat_list.tpl @@ -12,7 +12,7 @@ jQuery(document).ready(function(){ jQuery("#notManualOrder").hide(); jQuery("#formAutoOrder").hide(); jQuery("#formCreateAlbum").hide(); - }, + } }); jQuery("#categoryOrdering").submit(function(){ diff --git a/admin/themes/default/template/include/add_album.inc.tpl b/admin/themes/default/template/include/add_album.inc.tpl index 1fe8cea21..bd9b0b9e9 100644 --- a/admin/themes/default/template/include/add_album.inc.tpl +++ b/admin/themes/default/template/include/add_album.inc.tpl @@ -6,7 +6,7 @@ jQuery(document).ready(function(){ { recursive: true, fullname: true, - format: "json", + format: "json" }, function(data) { jQuery.each( @@ -44,7 +44,7 @@ jQuery(document).ready(function(){ url: "ws.php?format=json&method=pwg.categories.add", data: { parent: jQuery("select[name=category_parent] option:selected").val(), - name: jQuery("input[name=category_name]").val(), + name: jQuery("input[name=category_name]").val() }, beforeSend: function() { jQuery("#albumCreationLoading").show(); diff --git a/admin/themes/default/template/photos_add_direct.tpl b/admin/themes/default/template/photos_add_direct.tpl index 6794e0407..b7faab608 100644 --- a/admin/themes/default/template/photos_add_direct.tpl +++ b/admin/themes/default/template/photos_add_direct.tpl @@ -200,7 +200,7 @@ var sizeLimit = Math.round({$upload_max_filesize} / 1024); /* in KBytes */ 'level' : jQuery("select[name=level] option:selected").val(), 'upload_id' : upload_id, 'session_id' : session_id, - 'pwg_token' : pwg_token, + 'pwg_token' : pwg_token } ); -- cgit v1.2.3