Author: sevein
Date: Sat Apr 28 21:36:55 2012
New Revision: 11538

Log:
Disable browser autocomplete using unofficial autocomplete attribute only 
supported by some browsers, but good enough

Modified:
   branches/2.0/apps/qubit/modules/search/templates/_box.php

Modified: branches/2.0/apps/qubit/modules/search/templates/_box.php
==============================================================================
--- branches/2.0/apps/qubit/modules/search/templates/_box.php   Sat Apr 28 
21:35:51 2012        (r11537)
+++ branches/2.0/apps/qubit/modules/search/templates/_box.php   Sat Apr 28 
21:36:55 2012        (r11538)
@@ -1,4 +1,4 @@
-<form action="<?php echo url_for(array('module' => 'search')) ?>" 
data-autocomplete="<?php echo url_for(array('module' => 'search', 'action' => 
'autocomplete')) ?>">
+<form action="<?php echo url_for(array('module' => 'search')) ?>" 
data-autocomplete="<?php echo url_for(array('module' => 'search', 'action' => 
'autocomplete')) ?>" autocomplete="off">
 
   <input name="query"<?php if (isset($sf_request->query)) echo ' 
class="focused"' ?> value="<?php echo esc_entities($sf_request->query) ?>" 
placeholder="<?php echo __('Search') ?>"/>
 

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to