Skip to content

Different path to lang.js or security.js while $.validate call #403

Open
@JHanAlex

Description

@JHanAlex

I don't know why, but if I use "mod_pagespeed" I "GET" these js files from others path. But code is the same in each pages.
Code:

<script src="http://exchange/bower_components/jquery-form-validator/form-validator/jquery.form-validator.min.js"></script>

Call: $.validate({
                lang : 'ru',
                modules : 'security',
                validateOnBlur : false
            });

For ex.

  1. load "http://vbaze.com.ua/ru/sign-up" - file "security.js" loads from "http://vbaze.com.ua/bower_components/security.js"
  2. load "http://vbaze.com.ua/ru/new-product" - file "security.js" loads from "http://vbaze.com.ua/bower_components/jquery-form-validator/form-validator/security.js"

Need help to understand why? For temporary solutions copy this files in different location, but this is not good

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions