aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2013-10-18 14:16:59 +0000
committerplegall <plg@piwigo.org>2013-10-18 14:16:59 +0000
commitf202a86fcab46cf8aa39768c2808c415f264026b (patch)
treeb4fc1369fe39c9b1e2de722c29989f2017980cdc /admin
parent666a204d16013ae0e5f81028c6622ccfe12fb81d (diff)
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
Diffstat (limited to 'admin')
-rw-r--r--admin/themes/default/template/cat_list.tpl2
-rw-r--r--admin/themes/default/template/include/add_album.inc.tpl4
-rw-r--r--admin/themes/default/template/photos_add_direct.tpl2
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
}
);