annulation ancres
This commit is contained in:
parent
b44ef817e8
commit
3174d01518
@ -74,7 +74,7 @@ class gallery extends common {
|
||||
// Valeurs en sortie
|
||||
//header('Refresh: 0;url='. helper::baseUrl() . $this->getUrl() . '#galleryConfigFilterForm' );
|
||||
$this->addOutput([
|
||||
'redirect' => helper::baseUrl() . $this->getUrl() . '#galleryConfigFilterForm',
|
||||
'redirect' => helper::baseUrl() . $this->getUrl() /* . '#galleryConfigFilterForm'*/,
|
||||
'notification' => 'Modifications enregistrées',
|
||||
'state' => true
|
||||
]);
|
||||
@ -153,7 +153,7 @@ class gallery extends common {
|
||||
]]);
|
||||
// Valeurs en sortie
|
||||
$this->addOutput([
|
||||
'redirect' => helper::baseUrl() . $this->getUrl(). '#galleryConfigForm',
|
||||
'redirect' => helper::baseUrl() . $this->getUrl() /*. '#galleryConfigForm'*/,
|
||||
'notification' => 'Modifications enregistrées',
|
||||
'state' => true
|
||||
]);
|
||||
|
@ -23,13 +23,22 @@ $( document ).ready(function() {
|
||||
serializeRegexp: "[^\_]*$"
|
||||
});
|
||||
|
||||
/*
|
||||
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
* Scroll virer les ancres de l'URL
|
||||
*/
|
||||
/*
|
||||
$( document ).scroll(function() {
|
||||
var href = window.location.href;
|
||||
if(href.indexOf("#") > 0){
|
||||
href = href.split("#")[0] + href.split("#")[1];
|
||||
window.location.href = href;
|
||||
}*/
|
||||
href = href.split("#")[0];
|
||||
window.location.hash = href;
|
||||
}
|
||||
});
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user