dynamic URL and page title change after loading file or folder
parent
067148195b
commit
6daa5e4fc7
|
@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
- add option to approximate elevation of new point
|
- add option to approximate elevation of new point
|
||||||
[#18](https://gitlab.com/eneiluj/gpxedit-oc/issues/18) @TheTiPi
|
[#18](https://gitlab.com/eneiluj/gpxedit-oc/issues/18) @TheTiPi
|
||||||
- support for ownCloud admin settings
|
- support for ownCloud admin settings
|
||||||
|
- dynamic URL and page title change after loading file or folder
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- change way to cut lines, hover the middle marker and press Del
|
- change way to cut lines, hover the middle marker and press Del
|
||||||
|
|
|
@ -1051,6 +1051,8 @@
|
||||||
catch (err) {
|
catch (err) {
|
||||||
console.log('Impossible to fit to bounds \n'+err);
|
console.log('Impossible to fit to bounds \n'+err);
|
||||||
}
|
}
|
||||||
|
document.title = 'GpxEdit - ' + folder;
|
||||||
|
window.history.pushState({'html': '', 'pageTitle': ''},'', '?dir='+encodeURIComponent(folder));
|
||||||
}
|
}
|
||||||
hideLoadingAnimation();
|
hideLoadingAnimation();
|
||||||
}).fail(function (){
|
}).fail(function (){
|
||||||
|
@ -1131,6 +1133,8 @@
|
||||||
catch (err) {
|
catch (err) {
|
||||||
console.log('Impossible to fit to bounds \n'+err);
|
console.log('Impossible to fit to bounds \n'+err);
|
||||||
}
|
}
|
||||||
|
document.title = 'GpxEdit - ' + file;
|
||||||
|
window.history.pushState({'html': '', 'pageTitle': ''},'', '?file='+encodeURIComponent(file));
|
||||||
}
|
}
|
||||||
hideLoadingAnimation();
|
hideLoadingAnimation();
|
||||||
}).fail(function (){
|
}).fail(function (){
|
||||||
|
|
Loading…
Reference in New Issue