Permalink
Browse files

Fixed a bug : added missing session commit while creating ajax_playlist

  • Loading branch information...
1 parent 60d1288 commit 3864868cd4460196595666f1ae9206a0ebf367b8 @kracekumar kracekumar committed Dec 4, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 hgtv/views/channel.py
View
@@ -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:

0 comments on commit 3864868

Please sign in to comment.