ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject [1/2] incubator-ponymail git commit: some comments
Date Tue, 06 Sep 2016 15:54:13 GMT
Repository: incubator-ponymail
Updated Branches:
  refs/heads/coffee-and-cake 826fe3db1 -> 1c88bbbd9


some comments


Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/42e499ec
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/42e499ec
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/42e499ec

Branch: refs/heads/coffee-and-cake
Commit: 42e499eca8d9407f17c53cca8870011607d5590a
Parents: 826fe3d
Author: Daniel Gruno <humbedooh@apache.org>
Authored: Tue Sep 6 16:46:15 2016 +0200
Committer: Daniel Gruno <humbedooh@apache.org>
Committed: Tue Sep 6 16:46:15 2016 +0200

----------------------------------------------------------------------
 site/js/coffee/search.coffee | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/42e499ec/site/js/coffee/search.coffee
----------------------------------------------------------------------
diff --git a/site/js/coffee/search.coffee b/site/js/coffee/search.coffee
index b67365c..ea46750 100644
--- a/site/js/coffee/search.coffee
+++ b/site/js/coffee/search.coffee
@@ -15,6 +15,8 @@
  limitations under the License.
 ###
 
+
+### Quick Search bar creation ###
 quickSearchBar = () ->
     qs = new HTML('form', { class: "quicksearch", onsubmit: 'quickSearch(); return false;'})
     
@@ -35,9 +37,13 @@ quickSearchBar = () ->
     
     options.inject([span, new HTML('br'), list])
     
-    
+    ### Input field for text search ###
     input = new HTML('input', { type: "text", id: 'qs_input', class: "qs_input", placeholder:
"Type search terms..."})
+    
+    ### The blue search button ###
     button = new HTML('input', { type: 'submit', class: 'qs_button'})
+    
+    ### Add it all to the form ###
     qs.inject(options)
     qs.inject(input)
     qs.inject(button)


Mime
View raw message