removed some messages from messages.inc.php (validation, some other error messages)
User preferences: added translations and values for some fields validation for DefaultPropDisplay
This commit is contained in:
12
js/config.js
12
js/config.js
@@ -200,6 +200,18 @@ var validators = {
|
||||
}
|
||||
return result;
|
||||
},
|
||||
/**
|
||||
* DefaultPropDisplay validator
|
||||
*
|
||||
* @param {boolean} isKeyUp
|
||||
*/
|
||||
validate_DefaultPropDisplay: function(isKeyUp) {
|
||||
if (isKeyUp && this.value == '') {
|
||||
return true;
|
||||
}
|
||||
var valid = this.value.match(/^(?:horizontal|vertical|[0-9]+)$/) != null;
|
||||
return valid ? true : PMA_messages['error_invalid_value']
|
||||
},
|
||||
// field validators
|
||||
_field: {
|
||||
},
|
||||
|
Reference in New Issue
Block a user