Skip to content

Commit

Permalink
Merge pull request #782 from PyPlanet/bugfix/781
Browse files Browse the repository at this point in the history
Auto-refresh jukebox list on map drop.
  • Loading branch information
tomvlk committed Nov 1, 2019
2 parents 3172535 + 5c7ac9c commit bed86b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -68,6 +68,9 @@ env*/
out
gen

# Visual Studio Code
.vscode

### Project specific
/dedicated
/tmp
Expand Down
1 change: 1 addition & 0 deletions pyplanet/apps/contrib/jukebox/views.py
Expand Up @@ -56,6 +56,7 @@ async def get_fields(self):

async def action_drop(self, player, values, instance, **kwargs):
await self.app.drop_from_jukebox(player, instance)
await self.refresh(player=player)

async def get_data(self):
index = 1
Expand Down

0 comments on commit bed86b5

Please sign in to comment.