explain why alert-boxes appear
authorAndreas Unterkircher <unki@netshadow.at>
Sun, 20 Jan 2008 09:37:57 +0000 (10:37 +0100)
committerAndreas Unterkircher <unki@netshadow.at>
Sun, 20 Jan 2008 10:17:27 +0000 (11:17 +0100)
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
phpfspot.js

index 7e18d3c5fcd63ae37b8f5550982c271f24cb9042..a2c848e5715bf5faf254eb39ceeab348d869c39c 100644 (file)
@@ -77,7 +77,7 @@ function Tags(mode, id)
       refreshPhotoIndex();
    }
    else {
       refreshPhotoIndex();
    }
    else {
-      window.alert(retr);
+      window.alert("Server message: "+ retr);
    }
 
 } // Tags()
    }
 
 } // Tags()
@@ -177,7 +177,7 @@ function startSearch()
       showPhotoIndex();
    }
    else {
       showPhotoIndex();
    }
    else {
-      window.alert(retr);
+      window.alert("Server message: "+ retr);
    }
 
 } // startSearch()
    }
 
 } // startSearch()
@@ -534,7 +534,7 @@ function update_sort_order(obj)
       showPhotoIndex();
    }
    else {
       showPhotoIndex();
    }
    else {
-      window.alert(retr);
+      window.alert("Server message: "+ retr);
    }
 
 } // update_sort_order()
    }
 
 } // update_sort_order()