mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
use class folderselect instead of id
previously only the first folder in the list could be selected
This commit is contained in:
parent
483d082c44
commit
b89023d99d
|
@ -43,7 +43,7 @@ $('.fileselect').click(function(ev) {
|
|||
attr_filename = $(ev.currentTarget).attr('filename');
|
||||
fileSelected(attr_filename);
|
||||
});
|
||||
$('#folderselect').click(function(ev) {
|
||||
$('.folderselect').click(function(ev) {
|
||||
attr_foldername = $(ev.currentTarget).attr('foldername');
|
||||
folderSelected(attr_foldername);
|
||||
});
|
||||
|
@ -89,7 +89,7 @@ $('#folderselect').click(function(ev) {
|
|||
} elseif($showfolders) {
|
||||
echo "<tr>";
|
||||
echo "<td></td>";
|
||||
echo "<td><span style=\"cursor: pointer;\" id=\"folderselect\" foldername=\"".$entry."\" >".$entry."</span></td><td align=\"right\"></td><td></td>";
|
||||
echo "<td><span style=\"cursor: pointer;\" class=\"folderselect\" foldername=\"".$entry."\" >".$entry."</span></td><td align=\"right\"></td><td></td>";
|
||||
echo "</tr>\n";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user