fix add label UI

This commit is contained in:
Ezequiel Bergamaschi
2014-02-05 21:44:30 -03:00
committed by Ezequiel Bergamaschi
parent 668506ceb8
commit efb7e0cc3b
2 changed files with 6 additions and 3 deletions

View File

@@ -631,7 +631,7 @@ public class MindmapController extends BaseController {
}
@RequestMapping(method = RequestMethod.POST, value = "/labels/maps", consumes = {"application/json"})
@ResponseStatus(value = HttpStatus.ACCEPTED)
@ResponseStatus(value = HttpStatus.OK)
public void addLabel(@RequestBody RestLabel restLabel, @RequestParam(required = true) String ids) throws WiseMappingException {
int labelId = restLabel.getId();
for (String id : ids.split(",")) {