Setup script:

* allow for proper trusted proxies editing
* add trusted proxies validation
* pass field descriptions through PMA_lang(), broken when PMA_lang_desc() was addes
This commit is contained in:
Piotr Przybylski
2008-09-04 13:50:10 +00:00
parent ab83474962
commit 737de47117
6 changed files with 103 additions and 12 deletions

View File

@@ -241,7 +241,20 @@ var validators = {
ajaxValidate(this, 'Servers/1/hide_db', data);
}
return true;
}
},
/**
* TrustedProxies field
*
* @param boolean isKeyUp
*/
TrustedProxies: function(isKeyUp) {
if (!isKeyUp && this.value != '') {
var data = {};
data[this.id] = this.value;
ajaxValidate(this, 'TrustedProxies', data);
}
return true;
},
},
// fieldset validators
_fieldset: {