Permalink
Browse files

Small tweaks

  • Loading branch information...
1 parent 576b602 commit ae67bd00ff754ed177fe0fef939502139e6af08f @kracekumar kracekumar committed Dec 6, 2012
Showing with 3 additions and 5 deletions.
  1. +1 −1 hgtv/__init__.py
  2. +0 −1 hgtv/templates/videoedit.html
  3. +2 −3 hgtv/views/playlist.py
View
2 hgtv/__init__.py
@@ -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')
View
1 hgtv/templates/videoedit.html
@@ -98,7 +98,6 @@
{% 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
View
5 hgtv/views/playlist.py
@@ -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()
@@ -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.