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