Fork me on GitHub

Rapport de message :*
 

extgallery : modification des photos

Titre du sujet : extgallery : modification des photos
par analya sur 18/11/2008 22:33:41

Bonsoir,
j'ai cherché un peu partout, une solution à ce petit soucis.

Dans l'administration d'extgallery,quand j'édite un album afin d'en modifier les photos une à une : titre/description/poids, je dois cocher une à une les photos à modifier.
La case à cocher principal dans la ligne de titre ne fonctionne pas.
C'est super laborieux quand il y en a une cinquantaine, c'est long et j'en loupe toujours une ! je le sais parce que le nombre de "photos modifiées avec succès" ne correspond pas... grrrr

firefox ne m'indique pas de soucis sur la page. par contre, ie, si.

>>>>> erreur sur ie <<<<<
ligne : 704
caractère : 1
erreur : objet attendu.
>>>>>> <<<<<<


la page concernée est admin/photo.php


le code source donne ceci :
<script type="text/javascript">
function checkAllPhoto() {
var optionids = new Array('photoId[300][]', 'photoId[301][]', 'photoId[302][]', 'photoId[303][]', 'photoId[304][]', 'photoId[305][]', 'photoId[306][]', 'photoId[307][]', 'photoId[308][]', 'photoId[309][]', 'photoId[310][]', 'photoId[311][]', 'photoId[312][]', 'photoId[313][]', 'photoId[314][]', 'photoId[315][]', 'photoId[316][]', 'photoId[317][]', 'photoId[318][]', 'photoId[319][]', 'photoId[320][]', 'photoId[321][]', 'photoId[322][]', 'photoId[323][]', 'photoId[324][]', 'photoId[325][]', 'photoId[327][]', 'photoId[329][]', 'photoId[331][]', 'photoId[333][]', 'photoId[334][]', 'photoId[335][]', 'photoId[336][]', 'photoId[337][]', 'photoId[338][]', 'photoId[339][]', 'photoId[340][]', 'photoId[341][]', 'photoId[342][]', 'photoId[343][]');
xoopsCheckAllElements(optionids, 'selectAllPhoto');
}
function changeAllCategory() {
var elementIds = new Array('catId[300]', 'catId[301]', 'catId[302]', 'catId[303]', 'catId[304]', 'catId[305]', 'catId[306]', 'catId[307]', 'catId[308]', 'catId[309]', 'catId[310]', 'catId[311]', 'catId[312]', 'catId[313]', 'catId[314]', 'catId[315]', 'catId[316]', 'catId[317]', 'catId[318]', 'catId[319]', 'catId[320]', 'catId[321]', 'catId[322]', 'catId[323]', 'catId[324]', 'catId[325]', 'catId[327]', 'catId[329]', 'catId[331]', 'catId[333]', 'catId[334]', 'catId[335]', 'catId[336]', 'catId[337]', 'catId[338]', 'catId[339]', 'catId[340]', 'catId[341]', 'catId[342]', 'catId[343]');
var select_cbox = xoopsGetElementById('changeAllCat');
for (var i = 0; i < elementIds.length; i++) {
var e = xoopsGetElementById(elementIds[i]);
e.selectedIndex = select_cbox.selectedIndex;
}
}
</script>


la ligne 704 est celle-ci :
xoopsCheckAllElements(optionids, 'selectAllPhoto');



je n'ai pas trouvé de personnes relatant ce pb sur les forums.


ya encore qu'à moi que ça arrive ???? :-o
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

106 Personne(s) en ligne (70 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 106 | Plus ...