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:
@@ -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: {
|
||||
|
Reference in New Issue
Block a user