Merge branch 'master' of github.com:travis-ci/travis-web
This commit is contained in:
commit
780edf69c8
|
@ -77,7 +77,7 @@ Controller = Ember.ArrayController.extend
|
|||
searchFor: (phrase) ->
|
||||
Ember.run.cancel(@searchLater) if @searchLater
|
||||
@searchLater = Ember.run.later(this, (->
|
||||
@transitionTo('main.search', phrase)
|
||||
@transitionTo('main.search', phrase.replace(/\//g, '%2F'))
|
||||
), 500)
|
||||
|
||||
noReposMessage: (->
|
||||
|
|
|
@ -14,7 +14,7 @@ Route = MainTabRoute.extend
|
|||
@controllerFor('repos').addObserver('firstObject', this, 'currentRepoDidChange')
|
||||
|
||||
model: (params) ->
|
||||
params.phrase
|
||||
params.phrase.replace(/%2F/g, '/')
|
||||
|
||||
deactivate: ->
|
||||
@_super.apply(this, arguments)
|
||||
|
|
|
@ -8,7 +8,7 @@ View = Ember.View.extend
|
|||
classRecent: (->
|
||||
if @get('tab') == 'recent'
|
||||
'active'
|
||||
else if @get('tab') == 'search' && @auth.get('signedIn')
|
||||
else if @get('tab') == 'search' && @get('controller').auth.get('signedIn')
|
||||
'hidden'
|
||||
).property('tab')
|
||||
|
||||
|
|
|
@ -47,6 +47,7 @@ module.exports = function(environment) {
|
|||
sshKey: true,
|
||||
caches: true
|
||||
};
|
||||
ENV.charmKey = 'gy5gx7dy6dh86hxzkz1wmtvupwvievu';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user