getUrl()
parent
7135602bd1
commit
97e0cda352
|
@ -201,6 +201,10 @@
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
$scope.getUrl = function() {
|
||||||
|
return $location.absUrl().replace(/#.*$/, '');
|
||||||
|
};
|
||||||
|
|
||||||
$scope.setDataFromHash = function() {
|
$scope.setDataFromHash = function() {
|
||||||
var hashData = $location.search();
|
var hashData = $location.search();
|
||||||
|
|
||||||
|
|
|
@ -718,7 +718,7 @@
|
||||||
<input type="text"
|
<input type="text"
|
||||||
class="form-control form-control-sm"
|
class="form-control form-control-sm"
|
||||||
readonly
|
readonly
|
||||||
ng-value="location.absUrl()">
|
ng-value="getUrl()">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group row mt-4">
|
<div class="form-group row mt-4">
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Generated by nginxconfig.io<!--
|
# Generated by nginxconfig.io<!--
|
||||||
|
|
||||||
✔ isDirty --><span ng-if="isDirty">
|
✔ isDirty --><span ng-if="isDirty">
|
||||||
# {{ location.absUrl() }}</span>
|
# {{ getUrl() }}</span>
|
||||||
|
|
||||||
user {{ data.user }};
|
user {{ data.user }};
|
||||||
pid {{ data.pid}};
|
pid {{ data.pid}};
|
||||||
|
|
Loading…
Reference in New Issue