From e48388d49e19c5cd8ddcbc53ca88281fd58f35ed Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 11 Nov 2013 10:03:08 +0000 Subject: feature 1668: add a
to avoid confusing input[type=radio] (enabled_high, show_nb_hits...) between users. git-svn-id: http://piwigo.org/svn/trunk@25445 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/user_list.tpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'admin/themes') diff --git a/admin/themes/default/template/user_list.tpl b/admin/themes/default/template/user_list.tpl index 6efd63daf..630f86573 100644 --- a/admin/themes/default/template/user_list.tpl +++ b/admin/themes/default/template/user_list.tpl @@ -104,7 +104,8 @@ jQuery(document).ready(function() { if (data.stat == 'ok') { var user = data.result.users[0]; - var userDetails = ''; + var userDetails = ''; + userDetails += ''; userDetails += '
{/literal}{'Properties'|translate}{literal}'; userDetails += '
{/literal}{'Username'|translate}{literal}'; userDetails += '
'+user.username+'
'; @@ -225,6 +226,7 @@ jQuery(document).ready(function() { userDetails += ''; userDetails += '' + userDetails += ''; jQuery("#user"+userId).append(userDetails); } @@ -246,7 +248,7 @@ jQuery(document).ready(function() { jQuery.ajax({ url: "ws.php?format=json&method=pwg.users.setInfo", type:"POST", - data: jQuery('#user'+userId).find('select, input').serialize(), + data: jQuery('#user'+userId+' form').serialize(), beforeSend: function() { jQuery('#user'+userId+' .submitWait').show(); }, -- cgit v1.2.3