Skip to content
This repository was archived by the owner on Nov 25, 2022. It is now read-only.

Commit 771dd51

Browse files
committed
Added missing files extensions to jQuery validation loaded resources (jquery.validate.min.js and locale file).
1 parent 88f0298 commit 771dd51

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

skeleton/core/KB_Controller.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,14 +239,14 @@ public function prep_form($rules = array(), $form = null, $filter = null)
239239
// Make sure to use _query_validate() method on admin.
240240
if (true !== $this->router->is_admin())
241241
{
242-
add_script('jquery-validate', get_common_url('js/jquery.validate'));
242+
add_script('jquery-validate', get_common_url('js/jquery.validate.min.js'));
243243

244244
// Different language?
245245
if ('en' !== ($code = $this->lang->lang('code')))
246246
{
247247
add_script(
248248
'jquery-validate-'.$code,
249-
get_common_url('js/jquery-validate/'.$code)
249+
get_common_url('js/jquery-validate/'.$code.'.min.js')
250250
);
251251
}
252252
}

0 commit comments

Comments
 (0)