Prevent entering empty OpenSearch URLs in ConfigHeuristics_p.html

In order to early prevent adding invalid configuration entries to the
heuristicopensearch.conf file, as revealed the issue #209.
pull/218/head
luccioman 6 years ago
parent 1ca9cb6bd9
commit ecd4535eb6

@ -100,7 +100,7 @@
<td align="center"><input type="checkbox" name="ossys_#[title]#" value="checked" #(checked)#::checked="checked"#(/checked)#/></td>
<td align="left"><b><a href="#[urlhostlink]#" target="_blank">#[title]#</b></a> </td>
<td align="left">#[comment]#</td>
<td align="left"><input type="text" name="ossys_url_#[title]#" value="#[url]#" size="70"/></td>
<td align="left"><input type="text" name="ossys_url_#[title]#" value="#[url]#" size="70" required="required"/></td>
<td align="center"><input type="checkbox" name="ossys_del_#[title]#" value="checked" #(delchecked)#::checked="checked"#(/delchecked)#/></td>
</tr>
#{/osdcfg}#

Loading…
Cancel
Save