Skip to content

Commit

Permalink
Fixed a bug : added missing session commit while creating ajax_playlist
Browse files Browse the repository at this point in the history
  • Loading branch information
kracekumar committed Dec 4, 2012
1 parent 60d1288 commit 3864868
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hgtv/views/channel.py
Expand Up @@ -80,6 +80,7 @@ def playlist_new_modal(channel, video):
message_type = 'info'
action = 'noop'
html_to_return = render_template('new-playlist-tag.html', playlist=playlist, channel=channel, video=video)
db.session.commit()
return jsonify({'html': html_to_return, 'message_type': message_type, 'action': action,
'message': message})
if form.errors:
Expand Down

0 comments on commit 3864868

Please sign in to comment.