This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

page link bug


  1. wallahed
    Member

    I found what appears to be a bug in machform.

    When I insert a link to a target machform page within a host machform page and then View the host page, the link (in the bottom corner of my browser) will point to the host page, even though the text in the link in Edit, plainly shows the link to the target page.

    When I view the source of the page, the link is to the target page. But View must be getting mixed up and points to the original host page.

    Here is the host page: http://payclix.biz/mobiform/view.php?id=23487 If you click the link and then look at the page source (line 43) you can see the link to the correct target #24743 page.

    Anyone???

    Posted 10 years ago #
  2. Steve1951
    Member

    Here is what is causing your problem. In the head section you have the following:

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
    some other stuff
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>

    You should change it to:

    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
    some other stuff
    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>

    You need to remove the http: before //ajax.googleapis.com

    Also, there is no need to load jquery two times.

    Posted 10 years ago #
  3. wallahed
    Member

    Thank you!

    Posted 10 years ago #

RSS feed for this topic

Reply