bug in add-listing.js

This topic contains 3 replies, has 2 voices, and was last updated by  Guust 10 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: , ,

  • Author
    Posts
  • #25144

    Edgar Kuskov
    Buyer
    Post count: 50

    On the line 220 is a bug, if we have an italian translation and there is a ” ‘ ” symbol, it breaks the whole JS…

    updateMarkerAddress(‘Impossibile determinare l’indirizzo in questa posizione .’);

    #25153

    Guust
    Moderator
    Post count: 29970

    Edgar, you should use HTML characters in your translations, like this

    Impossibile determinare l& #146;indirizzo in questa posizione.

    Just take the space out between & and # [it keeps converting it]

    http://www.tedmontgomery.com/tutorial/htmlchrc.html

    Let us know if that fixed it.

    #25165

    Edgar Kuskov
    Buyer
    Post count: 50

    Ok it fixed it, but wouldn’t it be better to use here addslashes()? Then it doesn’t depend on how the user translates the text? I have also one more problem on the add listing page, i get following error:
    Failed to get text for stylesheet 1536: No style sheet with given id found

    #25171

    Guust
    Moderator
    Post count: 29970

    URL of that page, please.

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount