Merge branch 'ssrihari-click-to-select-invite-link' into develop

This commit is contained in:
Jonne Haß 2013-08-28 20:40:47 +02:00
commit e24e024f5f
3 changed files with 13 additions and 0 deletions

View file

@ -9,6 +9,7 @@ Make invite code input width consistent across borwsers [#4448](https://github.c
## Features
Add oEmbed content to the mobile view [#4343](https://github.com/diaspora/diaspora/pull/4353)
One click to select the invite URL [#4447](https://github.com/diaspora/diaspora/pull/4447)
# 0.2.0.0

View file

@ -100,6 +100,7 @@ var app = {
setupGlobalViews: function() {
app.hovercard = new app.views.Hovercard();
app.aspectMemberships = new app.views.AspectMembership();
app.sidebar = new app.views.Sidebar();
},
/* mixpanel wrapper function */

View file

@ -0,0 +1,11 @@
app.views.Sidebar = app.views.Base.extend({
el: '.rightBar',
events: {
'click input#invite_code': 'selectInputText'
},
selectInputText: function(event) {
event.target.select();
}
});