Commit bf7b7538eba09566bea2b5a60428ccc4cb933b86

  • avatar
  • arvind
  • Mon Sep 01 21:37:18 IST 2014
Changing context of app to ocd-img-anno
  • Diff rendering mode:
  • inline
  • side by side

swtr/static/js/img_swtr.js

4 var ImgAnnoSwt = Backbone.Model.extend({4 var ImgAnnoSwt = Backbone.Model.extend({
5 defaults: {5 defaults: {
6 'who': '',6 'who': '',
7 'what': 'img-anno',
7 'what': 'ocd-img-anno',
8 'where': '',8 'where': '',
9 'how': {}9 'how': {}
10 },10 },

swtr/static/js/main.js

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',
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) {