* create mix not working; fixed

This commit is contained in:
Seth Call 2015-10-27 09:48:07 -05:00
parent 8d026a3fdb
commit 86d33c0f79
2 changed files with 9 additions and 10 deletions

View File

@ -217,7 +217,8 @@ rest = context.JK.Rest()
onUser:(user) ->
@setState({user: user})
@doPurchasedSearch()
if context.JK.currentUserId?
@doPurchasedSearch()
# Get artist names and build links
#@rest.getJamTrackArtists({group_artist: true, per_page:100})

View File

@ -56,15 +56,13 @@
<% if @websocket %>
if(!window.opener) {
JK.JamServer.connect() // singleton here defined in JamServer.js
.done(function() {
console.log("websocket connected")
})
.fail(function() {
//console.log("websocket failed to connect")
});
}
JK.JamServer.connect() // singleton here defined in JamServer.js
.done(function() {
console.log("websocket connected")
})
.fail(function() {
//console.log("websocket failed to connect")
});
<% end %>
})