Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ExtJS: get current URL in ExtJS style

Title says it all: how do I get the current URL using ExtJS?

There are already answers about fetching the URL using document.URL and window.location.pathname. However, since I'm using Ext.Object.fromQueryString in the same script, I'm looking for a similar ExtJS method that returns the current URL.

I'm on ExtJS 4.1.3.

like image 541
Joseph Victor Zammit Avatar asked Jan 22 '26 21:01

Joseph Victor Zammit


1 Answers

No there isn't something like this in ExtJS, and if there was a function like that, under the hoodcap they'd also do a window.location

like image 196
Johan Haest Avatar answered Jan 24 '26 10:01

Johan Haest



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!