Skip to content

Commit

Permalink
Small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
kracekumar committed Dec 6, 2012
1 parent 576b602 commit ae67bd0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion hgtv/__init__.py
Expand Up @@ -20,7 +20,7 @@
app.register_blueprint(baseframe)

assets = Environment(app)
js = Bundle(baseframe_js, toastr_js, 'js/ajax-chosen.min.js',
js = Bundle(baseframe_js, toastr_js,
filters='jsmin', output='js/packed.js')
css = Bundle(baseframe_css, toastr_css, 'css/app.css',
filters='cssmin', output='css/packed.css')
Expand Down
1 change: 0 additions & 1 deletion hgtv/templates/videoedit.html
Expand Up @@ -98,7 +98,6 @@ <h3>Speakers <small>Tag speakers to this video</small></h3>
{% endblock %}
{% block footerscripts %}
{{ richtext_editor(form.description) }}
<script src="https://raw.github.com/meltingice/ajax-chosen/master/lib/ajax-chosen.min.js"></script>
<script type="text/javascript">
$(function() {
// Ajax call to server
Expand Down
5 changes: 2 additions & 3 deletions hgtv/views/playlist.py
Expand Up @@ -193,8 +193,8 @@ def playlist_extend(channel, playlist):
try:
process_playlist(playlist_url=playlist_url, playlist=playlist)
except:
return jsonify({'message_type': "server-error",
'message': 'Oops, something went wrong, please try after some time'})
return jsonify({'message_type': "server-error",
'message': 'Oops, something went wrong, please try later'})
additions = (len(playlist.videos) - initial_count)
if additions:
db.session.commit()
Expand All @@ -207,4 +207,3 @@ def playlist_extend(channel, playlist):
'html': html})
return jsonify ({'action': 'modal-window', 'message_type': 'success', 'html': html})
return html

0 comments on commit ae67bd0

Please sign in to comment.