Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2013-05-02 16:49:54 +0400
committerMichal Čihař <mcihar@suse.cz>2013-05-02 17:01:11 +0400
commit1d5539d3aa36622d9e85b187bebfc1de44931865 (patch)
treea262bbccaf7840964f4143bb124f520afba8e5b5 /js/config.js
parent4ef04aad662c2513312810d55d59143547fdccd8 (diff)
Better function names
Follow PEAR coding standard for function names.
Diffstat (limited to 'js/config.js')
-rw-r--r--js/config.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/config.js b/js/config.js
index e551f531a8..83482a0e3f 100644
--- a/js/config.js
+++ b/js/config.js
@@ -202,7 +202,7 @@ var validators = {
*
* @param {boolean} isKeyUp
*/
- validate_positive_number: function (isKeyUp) {
+ PMA_validatePositiveNumber: function (isKeyUp) {
if (isKeyUp && this.value === '') {
return true;
}
@@ -214,7 +214,7 @@ var validators = {
*
* @param {boolean} isKeyUp
*/
- validate_non_negative_number: function (isKeyUp) {
+ PMA_validateNonNegativeNumber: function (isKeyUp) {
if (isKeyUp && this.value === '') {
return true;
}
@@ -226,7 +226,7 @@ var validators = {
*
* @param {boolean} isKeyUp
*/
- validate_port_number: function (isKeyUp) {
+ PMA_validatePortNumber: function (isKeyUp) {
if (this.value === '') {
return true;
}
@@ -239,7 +239,7 @@ var validators = {
* @param {boolean} isKeyUp
* @param {string} regexp
*/
- validate_by_regex: function (isKeyUp, regexp) {
+ PMA_validateByRegex: function (isKeyUp, regexp) {
if (isKeyUp && this.value === '') {
return true;
}
@@ -254,7 +254,7 @@ var validators = {
* @param {boolean} isKeyUp
* @param {int} max_value
*/
- validate_upper_bound: function (isKeyUp, max_value) {
+ PMA_validateUpperBound: function (isKeyUp, max_value) {
var val = parseInt(this.value, 10);
if (isNaN(val)) {
return true;