[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() . ']', [
|
template::text('legend[' . $fileInfos->getFilename() . ']', [
|
||||||
'value' => $this->getData(['module', $this->getUrl(0), $this->getUrl(2), 'legend', str_replace('.','',$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
|
// Activer le bouton de tri uniquement après un tri
|
||||||
$("#galleryTable").click(function(e) {
|
$("#galleryTable").click(function() {
|
||||||
e.preventDefault();
|
|
||||||
if ($("#galleryConfigFilterResponse").val() != "") {
|
if ($("#galleryConfigFilterResponse").val() != "") {
|
||||||
$(":input[type='submit']").prop('disabled', false);
|
$(":input[type='submit']").prop('disabled', false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user