Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting window.location.href takes a long time
Message
 
 
À
20/10/2015 12:35:29
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01626184
Message ID:
01626230
Vues:
31
>>I can not make it to work using states :(
>>
>>My latest attempt:
>>
>>.state('canceledState', {
>> url: '../../',
>> controller: '',
>> template: ''
>>
>>I also tried url: '/' and url: ''
>>
>>Nothing worked.
>>
>>When the form opens normally, the URL looks like this
>>
>>http://localhost:5525/CustomerAccounts/PrefsAcs#/AccountUDFs
>>
>>When I cancel, I want it to look simply like
>>
>>http://localhost:5525
>
>And if you go to 'cancelledState' what is the URL then ?

When I set it to '../../' it was 'http://localhost:5525/CustomerAccounts/PrefsAcs#/../../'

Also, I found that with my current solution of window.href for the Cancel, I can not re-load that page from Favorites after 'Save' anyway. Our menu.js file is very complicated and I believe one of our developers is going to re-write it. I hope with that re-write that problem may be easier to solve or it may go away by itself..
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform