You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by db...@apache.org on 2015/08/27 23:02:08 UTC
[3/8] docs commit: Gave the plugin searchbar focus when plugins page
loads
Gave the plugin searchbar focus when plugins page loads
Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/a25c9fd1
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/a25c9fd1
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/a25c9fd1
Branch: refs/heads/cordova-website
Commit: a25c9fd191d0dc2f53a639c14fadb95b1506de83
Parents: 678c044
Author: riknoll <ri...@microsoft.com>
Authored: Tue Aug 25 16:55:24 2015 -0700
Committer: Dmitry Blotsky <dm...@gmail.com>
Committed: Thu Aug 27 13:58:26 2015 -0700
----------------------------------------------------------------------
www/static/plugins/searchbar.jsx | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a25c9fd1/www/static/plugins/searchbar.jsx
----------------------------------------------------------------------
diff --git a/www/static/plugins/searchbar.jsx b/www/static/plugins/searchbar.jsx
index dc88e93..bc553c7 100755
--- a/www/static/plugins/searchbar.jsx
+++ b/www/static/plugins/searchbar.jsx
@@ -35,6 +35,8 @@ var SearchBar = React.createClass({
textObservable.onValue(function(val) {
self.props.onUserInput(val);
});
+
+ inputElem.focus();
},
render: function() {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org