Add hack to update query highlight name (WIP)

TODO add proper endpoints
pull/1524/head
Till Breuer 10 years ago
parent 5c95b2e8da
commit 664a232659
  1. 5
      app/assets/javascripts/angular/services/query-service.js

@ -354,6 +354,11 @@ angular.module('openproject.services')
});
},
updateHighlightName: function() {
// TODO Implement an API endpoint for updating the names or add an appropriate endpoint that returns query names for all highlighted queries
return this.unstarQuery().then(this.starQuery);
},
doGet: function(url, success, failure) {
return QueryService.doQuery(url, null, 'GET', success, failure);
},

Loading…
Cancel
Save