MINOR When the installer is using the environment for configuration, disable the development servers textarea as it's automatically configured from environment (from r100622)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@105609 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-05-25 04:19:10 +00:00
parent 0dd37f0da9
commit 67c7b7a026

View File

@ -27,6 +27,7 @@
document.getElementById('db_password').disabled = ''; document.getElementById('db_password').disabled = '';
document.getElementById('admin_username').disabled = ''; document.getElementById('admin_username').disabled = '';
document.getElementById('admin_password').disabled = ''; document.getElementById('admin_password').disabled = '';
document.getElementById('devsites').disabled = '';
var dbs = getElementsByClassName('databaseClass'); var dbs = getElementsByClassName('databaseClass');
for(var i = 0; i < dbs.length; i++) { for(var i = 0; i < dbs.length; i++) {
dbs[i].disabled = ''; dbs[i].disabled = '';
@ -38,6 +39,7 @@
document.getElementById('db_password').disabled = 'disabled'; document.getElementById('db_password').disabled = 'disabled';
document.getElementById('admin_username').disabled = 'disabled'; document.getElementById('admin_username').disabled = 'disabled';
document.getElementById('admin_password').disabled = 'disabled'; document.getElementById('admin_password').disabled = 'disabled';
document.getElementById('devsites').disabled = 'disabled';
var dbs = getElementsByClassName('databaseClass'); var dbs = getElementsByClassName('databaseClass');
for(var i = 0; i < dbs.length; i++) { for(var i = 0; i < dbs.length; i++) {
dbs[i].disabled = 'disabled'; dbs[i].disabled = 'disabled';