Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
Merge pull request #70 from travislbrundage/angular-bump-fix
Browse files Browse the repository at this point in the history
Adjust promise resolution with angular bump to 1.6.5
  • Loading branch information
Clarence Davis authored Jul 26, 2017
2 parents bbd359a + 8d526ed commit 4705853
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geonode/templates/metadata_form_js.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
*/
})

$.ajax('/h_keywords_api', {params: params}).success(function(data){
$.ajax('/h_keywords_api', {params: params}).then(function(response){
$('#treeview').treeview({
data: data,
data: response.data,
levels: 1,
onNodeSelected: function($event, $data) {
//TODO: This seems a horribly inelegant way of doing this in 12 Lines
Expand Down

0 comments on commit 4705853

Please sign in to comment.