Skip to content

Commit

Permalink
Merge pull request GeoNode#2 from ppasq/api-search
Browse files Browse the repository at this point in the history
Fix bower, grunt
  • Loading branch information
simod committed May 14, 2014
2 parents fccb576 + 67d0891 commit 3a10dcc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
7 changes: 5 additions & 2 deletions geonode/static/bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"main": "geonode/css/base.css",
"componentsDirectory": ".components",
"dependencies": {
"bootstrap": "2.3.2",
"bootstrap": "3.1.1",
"datatables": "1.9.4",
"select2": "3.2.0",
"jquery": "1.8.3",
"jquery": "1.11.0",
"jquery-timeago": "0.11.4",
"jquery-ui": "1.10.1",
"requirejs": "2.1.2",
Expand All @@ -25,5 +25,8 @@
"jquery.ajaxQueue": "https://github.com/gnarf/jquery-ajaxQueue.git",
"angular": "1.2.6",
"angular-leaflet-directive": "~0.7.3"
},
"resolutions": {
"jquery": "1.11.0"
}
}
2 changes: 1 addition & 1 deletion geonode/static/geonode/js/search/explore.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$(function() {

$( ".datepicker" ).datepicker();
//$( ".datepicker" ).datepicker();

$("[data-viewby]").each(function() {
$(this).find("nav.viewby a."+$(this).data("viewby")).addClass("active");
Expand Down
2 changes: 1 addition & 1 deletion geonode/static/gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ module.exports = function(grunt) {
'lib/js/bootstrap-datepicker.js',
'lib/js/json2.js',
'lib/js/select2.js',
'lib/js/bootstrap.js',
//'lib/js/bootstrap.min.js',
'lib/js/angular.js',
'lib/js/angular-leaflet-directive.min.js'
],
Expand Down
4 changes: 1 addition & 3 deletions geonode/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,7 @@ <h4><a href="{{ announcement.get_absolute_url }}">{{ announcement }}</a></h4>
<script src="{{ STATIC_URL }}lib/js/jquery.ajaxQueue.js"></script>
<script src="{{ STATIC_URL }}lib/js/jquery-ui.custom.js"></script>
<script src="{{ STATIC_URL }}lib/js/jquery.raty.js"></script>
<!-- <script src="{{ STATIC_URL }}lib/js/bootstrap.js"></script> -->
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<script src="{{ STATIC_URL }}lib/js/bootstrap.min.js"></script>
<script src="{{ STATIC_URL }}lib/js/json2.js"></script>
<script src="{{ STATIC_URL }}lib/js/select2.js"></script>
<script src="{{ STATIC_URL }}lib/js/waypoints.js"></script>
Expand All @@ -314,7 +313,6 @@ <h4><a href="{{ announcement.get_absolute_url }}">{{ announcement }}</a></h4>
<script src="{{ STATIC_URL }}geonode/js/base/base.js"></script>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<!-- <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script> -->

{% block extra_script %}{% endblock extra_script %}

Expand Down

0 comments on commit 3a10dcc

Please sign in to comment.