Commit bf7b7538eba09566bea2b5a60428ccc4cb933b86
Changing context of app to ocd-img-anno
| | | | 4 | var ImgAnnoSwt = Backbone.Model.extend({ | 4 | var ImgAnnoSwt = Backbone.Model.extend({ |
---|
5 | defaults: { | 5 | defaults: { |
---|
6 | 'who': '', | 6 | 'who': '', |
---|
7 | 'what': 'img-anno', | | 'what': 'img-anno', |
---|
| | 7 | 'what': 'ocd-img-anno', | 8 | 'where': '', | 8 | 'where': '', |
---|
9 | 'how': {} | 9 | 'how': {} |
---|
10 | }, | 10 | }, |
---|
| | | | 679 | var self = this; | 679 | var self = this; |
---|
680 | swtr.LDs = new LDSwts(); | 680 | swtr.LDs = new LDSwts(); |
---|
681 | swtr.LDs.getAll({ | 681 | swtr.LDs.getAll({ |
---|
682 | what: 'img-anno', | | what: 'img-anno', |
---|
| | 682 | what: 'ocd-img-anno', | 683 | success: function(data) { | 683 | success: function(data) { |
---|
684 | swtr.LDs.add(data); | 684 | swtr.LDs.add(data); |
---|
685 | if(!swtr.tagCloudView) { | 685 | if(!swtr.tagCloudView) { |
---|