1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-04 10:19:25 +02:00

Remove remaining Prototype call and replace tinybox by prettyPhoto

This commit is contained in:
Afterster 2013-11-20 22:12:01 +01:00
parent 9d430573e9
commit 78c889f4b3
61 changed files with 217 additions and 202 deletions

View file

@ -64,7 +64,7 @@ var SearchRow = {
$('searchtable').appendChild(row);
rowCount++;
Event.observe(cells[3], 'click', function(e){if(rowCount > 1) { Element.remove(this.parentNode); rowCount--; }});
$(cells[3]).click(function(e){if(rowCount > 1) { Element.remove(this.parentNode); rowCount--; }});
rowIter++;
},
@ -120,7 +120,7 @@ var SearchRow = {
optionsNode.appendChild(option);
});
Event.observe(optionsNode, 'change', SearchRow.update);
$(optionsNode).change(SearchRow.update);
return optionsNode;
},