forked from jan/debianmemberportfolio
remove default readonly field support
This commit is contained in:
parent
65847e4d6c
commit
4f9e024bd3
1 changed files with 0 additions and 5 deletions
|
@ -23,8 +23,6 @@ License along with this program. If not, see
|
||||||
var defaulthiddendivs = new Array(
|
var defaulthiddendivs = new Array(
|
||||||
'#namefield', '#gpgfpfield', '#usernamefield', '#nonddemailfield',
|
'#namefield', '#gpgfpfield', '#usernamefield', '#nonddemailfield',
|
||||||
'#aliothusernamefield', '#wikihomepagefield', '#forumsidfield');
|
'#aliothusernamefield', '#wikihomepagefield', '#forumsidfield');
|
||||||
var defaultreadonlydivs = new Array(
|
|
||||||
'#gpgfpfield');
|
|
||||||
var maskedfielddivs = new Array(
|
var maskedfielddivs = new Array(
|
||||||
'#namefield', '#gpgfpfield', '#usernamefield', '#nonddemailfield',
|
'#namefield', '#gpgfpfield', '#usernamefield', '#nonddemailfield',
|
||||||
'#aliothusernamefield', '#wikihomepagefield', '#forumsidfield');
|
'#aliothusernamefield', '#wikihomepagefield', '#forumsidfield');
|
||||||
|
@ -117,9 +115,6 @@ $(document).ready(function() {
|
||||||
$(defaulthiddendivs[index]).hide();
|
$(defaulthiddendivs[index]).hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (var index in defaultreadonlydivs) {
|
|
||||||
$(defaultreadonlydivs[index]).attr('readonly', 'readonly');
|
|
||||||
}
|
|
||||||
|
|
||||||
$('#showall').attr('checked', false).change(onChangeShowAll);
|
$('#showall').attr('checked', false).change(onChangeShowAll);
|
||||||
$('#showallfield').show();
|
$('#showallfield').show();
|
||||||
|
|
Loading…
Reference in a new issue