}
else if(mode == "reset") {
HTML_AJAX.grab(encodeURI('rpc.php?action=reset'));
+ clearSearch();
}
else if(mode == "condition") {
setCheckedValue(id, id.value);
// if photo index is currently shown, refresh it
function refreshPhotoIndex()
{
- if(document.getElementById("matrix") != undefined) {
+ if(document.getElementById("matrix") != undefined || startup == 1) {
showPhotoIndex();
+ startup = 0;
}
}
{
document.getElementsByName('searchfor')[0].value = '';
}
+
+var startup = 1;