1.) Fix from Martin (he ist not at home...)

2.) Search button now gets blocked if clicked and JS active.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1150 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
rramthun 19 years ago
parent b604654c25
commit 8c0d982191

@ -15,7 +15,7 @@
<form action="index.html" method="get">
<center><table border="0" cellspacing="0" cellpadding="0"><tr><td>
<input name="search" type="text" size="52" maxlength="80" value="#[former]#">
<input type="submit" name="Enter" value="Search" onClick="with (this) { value = 'Searching...'; enabled = false; }">
<input type="submit" name="Enter" value="Search" onClick="with (this) { value = 'Searching...'; disabled = true; }">
</td></tr><tr><td>
Max. number of results:
<select NAME="count">

@ -99,7 +99,7 @@ public abstract class serverAbstractSwitch implements serverSwitch {
// doing a config settings migration
HashMap migratedSettings = yacyVersion.migrateSwitchboardConfigSettings(this,(HashMap) removedProps);
configProps.putAll(migratedSettings);
if(migratedSettings!=null) configProps.putAll(migratedSettings);
// merge new props from init to config
// this is necessary for migration, when new properties are attached

Loading…
Cancel
Save