Skip to content

Commit

Permalink
Merge branch 'maint-2.0'
Browse files Browse the repository at this point in the history
* maint-2.0:
  messages: jQuery-Timepicker-Addon fix
  • Loading branch information
jirikuncar committed Mar 20, 2015
2 parents 1319d1e + 986fefe commit 66aa5be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion invenio/base/static/js/settings.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of Invenio.
* Copyright (C) 2014 CERN.
* Copyright (C) 2014, 2015 CERN.
*
* Invenio is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
Expand All @@ -21,6 +21,7 @@ require.config({
baseUrl: "/",
paths: {
jquery: "vendors/jquery/dist/jquery",
"jquery.ui": "vendors/jquery-ui/jquery-ui",
ui: "vendors/jquery-ui/ui",
"jqueryui-timepicker": "vendors/jqueryui-timepicker-addon/dist",
"jquery-form": "vendors/jquery-form/jquery.form",
Expand Down
7 changes: 3 additions & 4 deletions invenio/modules/messages/bundles.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2014 CERN.
# Copyright (C) 2014, 2015 CERN.
#
# Invenio is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
Expand All @@ -19,10 +19,9 @@

"""Messages bundles."""

from invenio.base.bundles import invenio as _i, jquery as _j, styles as _styles
from invenio.ext.assets import Bundle, RequireJSFilter

from invenio.base.bundles import styles as _styles, jquery as _j, invenio as _i

_styles.contents.append(
"vendors/jqueryui-timepicker-addon/dist/jquery-ui-timepicker-addon.css"
)
Expand All @@ -34,6 +33,6 @@
filters=RequireJSFilter(exclude=[_j, _i]),
bower={
"jquery-ui": "~1.11",
"jqueryui-timepicker-addon": "latest"
"jqueryui-timepicker-addon": "1.5.2"
}
)

0 comments on commit 66aa5be

Please sign in to comment.