mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-07 10:34:46 -04:00
Fixed SearchView projections.
This commit is contained in:
parent
5bcaf2c746
commit
bd0ecd76e5
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ app = require('application')
|
|||
|
||||
class SearchCollection extends Backbone.Collection
|
||||
initialize: (modelURL, @model, @term) ->
|
||||
@url = "#{modelURL}/search?project=yes"
|
||||
@url = "#{modelURL}/search?project=true"
|
||||
@url += "&term=#{term}" if @term
|
||||
|
||||
module.exports = class ThangTypeHomeView extends View
|
||||
|
@ -110,7 +110,7 @@ module.exports = class ThangTypeHomeView extends View
|
|||
that = @
|
||||
res.success ->
|
||||
that.model = model
|
||||
modal.modal('hide')
|
||||
modal.modal('hide')
|
||||
|
||||
onModalHidden: ->
|
||||
# Can only redirect after the modal hidden event has triggered
|
||||
|
|
Loading…
Add table
Reference in a new issue