|
|
@@ -19,13 +19,13 @@ with this program. If not, see <https://www.gnu.org/licenses/>. |
|
|
|
#} |
|
|
|
var defaulthiddendivs = new Array( |
|
|
|
'#namefield', '#gpgfpfield', '#usernamefield', '#nonddemailfield', |
|
|
|
'#salsausernamefield', '#aliothusernamefield', '#wikihomepagefield', '#forumsidfield'); |
|
|
|
'#salsausernamefield', '#wikihomepagefield', '#forumsidfield'); |
|
|
|
var maskedfielddivs = new Array( |
|
|
|
'#namefield', '#gpgfpfield', '#usernamefield', '#nonddemailfield', |
|
|
|
'#salsausernamefield', '#aliothusernamefield', '#wikihomepagefield', '#forumsidfield'); |
|
|
|
'#salsausernamefield', '#wikihomepagefield', '#forumsidfield'); |
|
|
|
var allfielddivs = new Array( |
|
|
|
'#namefield', '#gpgfpfield', '#usernamefield', '#nonddemailfield', |
|
|
|
'#salsausernamefield', '#aliothusernamefield', '#wikihomepagefield', '#forumsidfield'); |
|
|
|
'#salsausernamefield', '#wikihomepagefield', '#forumsidfield'); |
|
|
|
|
|
|
|
function updateFields(data, textStatus) { |
|
|
|
if (data.type == 2) { // DD |
|
|
@@ -35,7 +35,6 @@ function updateFields(data, textStatus) { |
|
|
|
'readonly', 'readonly'); |
|
|
|
$('#nonddemail').prop('value', data.email).focus(); |
|
|
|
$('#salsausername').prop('value', data.username); |
|
|
|
$('#aliothusername').prop('value', data.username); |
|
|
|
$('#wikihomepage').prop('value', data.wikihomepage); |
|
|
|
|
|
|
|
$('#namefield').show(); |
|
|
@@ -43,7 +42,6 @@ function updateFields(data, textStatus) { |
|
|
|
$('#usernamefield').show(); |
|
|
|
$('#nonddemailfield').show(); |
|
|
|
$('#salsausernamefield').show(); |
|
|
|
$('#aliothusernamefield').show(); |
|
|
|
$('#wikihomepagefield').show(); |
|
|
|
$('#forumsidfield').show(); |
|
|
|
|
|
|
@@ -60,7 +58,6 @@ function updateFields(data, textStatus) { |
|
|
|
$('#usernamefield').hide(); |
|
|
|
$('#nonddemailfield').hide(); |
|
|
|
$('#salsausernamefield').show(); |
|
|
|
$('#aliothusernamefield').show(); |
|
|
|
$('#wikihomepagefield').show(); |
|
|
|
$('#forumsidfield').show(); |
|
|
|
|
|
|
@@ -76,7 +73,6 @@ function updateFields(data, textStatus) { |
|
|
|
$('#nonddemailfield').hide(); |
|
|
|
$('#namefield').show(); |
|
|
|
$('#salsausernamefield').show(); |
|
|
|
$('#aliothusernamefield').show(); |
|
|
|
$('#wikihomepagefield').show(); |
|
|
|
$('#forumsidfield').show(); |
|
|
|
|
|
|
|