[Git][noosfero/noosfero][master] token-input: use empty string as placeholder default
Rodrigo Souto
gitlab at mg.gitlab.com
Wed Apr 12 09:07:34 BRT 2017
Rodrigo Souto pushed to branch master at Noosfero / noosfero
Commits:
bcd40571 by Rodrigo Souto at 2017-04-12T09:07:13-03:00
token-input: use empty string as placeholder default
- - - - -
1 changed file:
- app/helpers/token_helper.rb
Changes:
=====================================
app/helpers/token_helper.rb
=====================================
--- a/app/helpers/token_helper.rb
+++ b/app/helpers/token_helper.rb
@@ -9,7 +9,7 @@ module TokenHelper
options[:hint_text] ||= _("Type in a search term")
options[:no_results_text] ||= _("No results")
options[:searching_text] ||= _("Searching...")
- options[:placeholder] ||= 'null'
+ options[:placeholder] ||= ''
options[:search_delay] ||= 1000
options[:prevent_duplicates] ||= true
options[:backspace_delete_item] ||= false
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/bcd40571b4101e2374bc0f16cb8ba9b68324b8c2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170412/de0db8e1/attachment.html>
More information about the Noosfero-dev
mailing list