remove default readonly field support

This commit is contained in:
Jan Dittberner 2010-06-12 00:18:52 +02:00
parent 65847e4d6c
commit 4f9e024bd3

View file

@ -23,8 +23,6 @@ License along with this program. If not, see
var defaulthiddendivs = new Array(
'#namefield', '#gpgfpfield', '#usernamefield', '#nonddemailfield',
'#aliothusernamefield', '#wikihomepagefield', '#forumsidfield');
var defaultreadonlydivs = new Array(
'#gpgfpfield');
var maskedfielddivs = new Array(
'#namefield', '#gpgfpfield', '#usernamefield', '#nonddemailfield',
'#aliothusernamefield', '#wikihomepagefield', '#forumsidfield');
@ -117,9 +115,6 @@ $(document).ready(function() {
$(defaulthiddendivs[index]).hide();
}
}
for (var index in defaultreadonlydivs) {
$(defaultreadonlydivs[index]).attr('readonly', 'readonly');
}
$('#showall').attr('checked', false).change(onChangeShowAll);
$('#showallfield').show();