bho, link url scheda singola
This commit is contained in:
parent
dc3a52a8a9
commit
31bd0e776b
1 changed files with 3 additions and 1 deletions
|
@ -480,7 +480,9 @@ function scriviQuanti() {
|
|||
function url_mercato() {
|
||||
var url = window.location.href;
|
||||
var origin = window.location.origin;
|
||||
url = url.replace(origin+'/schede_produzione/#', '')
|
||||
url = url.replace(origin, '');
|
||||
url = url.replace('/schede_produzione/', '');
|
||||
url = url.replace('#', '');
|
||||
console.log(url);
|
||||
$("#search").attr("value", url);
|
||||
$("#search").keyup();
|
||||
|
|
Loading…
Reference in a new issue