diff options
author | Michal Čihař <mcihar@suse.cz> | 2011-08-05 16:49:23 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2011-08-05 16:49:23 +0400 |
commit | 1ec0b69e6bf3378188a051b45fb2c0e7ea93b990 (patch) | |
tree | 1bf578071b04275411cdb69c64ce0e54ce10391d /setup/scripts.js | |
parent | 6205d419b68d57105d985a4a5335498337f6ccf4 (diff) |
Coding style, function definitions
Diffstat (limited to 'setup/scripts.js')
-rw-r--r-- | setup/scripts.js | 5 |
1 files changed, 3 insertions, 2 deletions
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 +// ------------------------------------------------------------------ |