forked from ZwiiCMS-Team/ZwiiCMS
[10.0.056] Erreur click galerie à trier + aperçu cliquable
This commit is contained in:
parent
c0c3d22d77
commit
b7022af095
@ -274,7 +274,7 @@ class gallery extends common {
|
||||
template::text('legend[' . $fileInfos->getFilename() . ']', [
|
||||
'value' => $this->getData(['module', $this->getUrl(0), $this->getUrl(2), 'legend', str_replace('.','',$fileInfos->getFilename())])
|
||||
]),
|
||||
'<a href="'. $directory . '/' . $fileInfos->getFilename() .'" data-lity><img src="'. str_replace('source','thumb',$directory) . '/' . $fileInfos->getFilename() . '"></a>'
|
||||
'<a href="'. str_replace('source','thumb',$directory) . '/mini_' . $fileInfos->getFilename() .'" rel="data-lity" data-lity=""><img src="'. str_replace('source','thumb',$directory) . '/' . $fileInfos->getFilename() . '"></a>'
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -25,8 +25,7 @@ $( document ).ready(function() {
|
||||
});
|
||||
|
||||
// Activer le bouton de tri uniquement après un tri
|
||||
$("#galleryTable").click(function(e) {
|
||||
e.preventDefault();
|
||||
$("#galleryTable").click(function() {
|
||||
if ($("#galleryConfigFilterResponse").val() != "") {
|
||||
$(":input[type='submit']").prop('disabled', false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user