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
path: root/setup
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2011-08-05 16:49:23 +0400
committerMichal Čihař <mcihar@suse.cz>2011-08-05 16:49:23 +0400
commit1ec0b69e6bf3378188a051b45fb2c0e7ea93b990 (patch)
tree1bf578071b04275411cdb69c64ce0e54ce10391d /setup
parent6205d419b68d57105d985a4a5335498337f6ccf4 (diff)
Coding style, function definitions
Diffstat (limited to 'setup')
-rw-r--r--setup/lib/form_processing.lib.php3
-rw-r--r--setup/scripts.js5
2 files changed, 5 insertions, 3 deletions
diff --git a/setup/lib/form_processing.lib.php b/setup/lib/form_processing.lib.php
index d54fd807c6..10c368c0ef 100644
--- a/setup/lib/form_processing.lib.php
+++ b/setup/lib/form_processing.lib.php
@@ -11,7 +11,8 @@
*
* @param FormDisplay $form_display
*/
-function process_formset(FormDisplay $form_display) {
+function process_formset(FormDisplay $form_display)
+{
if (filter_input(INPUT_GET, 'mode') == 'revert') {
// revert erroneous fields to their default values
$form_display->fixErrors();
diff --git a/setup/scripts.js b/setup/scripts.js
index b4e97dc6b3..e39ccacfb9 100644
--- a/setup/scripts.js
+++ b/setup/scripts.js
@@ -120,7 +120,8 @@ $.extend(true, validators, {
* @param {String} id validator id
* @param {Object} values values hash {element1_id: value, ...}
*/
-function ajaxValidate(parent, id, values) {
+function ajaxValidate(parent, id, values)
+{
parent = $(parent);
// ensure that parent is a fieldset
if (parent.attr('tagName') != 'FIELDSET') {
@@ -192,4 +193,4 @@ $(function() {
//
// END: User preferences allow/disallow UI
-// ------------------------------------------------------------------ \ No newline at end of file
+// ------------------------------------------------------------------