Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Error js script in Phonebook Project #2617


User avatar
0
peterlee created

I am downloading my project and doing my best.

I followed the phonebook step by step. - for a week :(

However, I was in trouble.

The phonebook sample works fine.

However, the projects that I have progressed step by step appear as shown in the figure.

I can not find the answer even if I look at every single problem.

Note that the database (PbPerson and phone) is normal

It works fine in the sample project.


6 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Can you try .done instead of success ?

  • User Avatar
    0
    peterlee created

    I found a funny situation.

    1. Run Phonebook project downloaded from Github.

    2. Check Phonebook page is normal

    3. Exiting the PhoneBook project

    4. Run my project

    5. Phonebook page .... working .... LOL

    6. But if you refresh Shift + f5 many times ....

    Not working ... LOL * 9999999

    What's the problem?

    My Com's Problem?

    Note that...

    Visual studio 2015 .net 4.6.1 Typescript installs linked to document

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    I think it is not related to your computer, probably Chrome is caching the scripts for working project first and when you refresh page many times it starts to use your project's scripts and it does not work.

    Can you send your project to us ? We will take a look at it locally and fix if there is a problem.

    Thanks.

  • User Avatar
    0
    peterlee created

    okay.

    I have sent an email to info account.

    I hope my mistake is found.

    please.

    And thank you.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Thank you for sending the project. It seems like the documentation is a bit old, you need to use .then instead of .success in the latest version of angular.

    Please change all .success of ajax calls to .then and use result.data.items instead of result.items and it works.

    We will update the documentatin as well, Thanks.

  • User Avatar
    0
    peterlee created

    It's perfect.

    Thank you.