Release Support > Requests

Live search

(1/1)

crasheg:
Google shows you search results while you typing text in search box. I made same function in roundcube search box by editing in

--- Quote ---\program\include\rcmail_output_html.php
--- End quote ---
Lines:

--- Quote ---1930: array('id','class','style','name','method','action','enctype','onsubmit')
--- End quote ---

--- Quote ---2168: 'onsubmit' => sprintf("%s.command('%s'); return false", self::JS_OBJECT_NAME, $attrib['command'] ?: 'search'),
--- End quote ---

to

--- Quote ---1930: array('id','class','style','name','method','action','enctype','onsubmit','oninput')
--- End quote ---

--- Quote ---2168:'oninput' => sprintf("%s.command('%s'); return false", self::JS_OBJECT_NAME, $attrib['command'] ?: 'search'),

--- End quote ---

I thing if developers add additional option to setting, that will enable/disable such option - will be great)

Navigation

[0] Message Index

Go to full version