Commit 7477a414055a83e774476b7d54b99c6c446a3cef

Fix issues/bugs

  - Change text of sweet button to Publish.
  - Fix error in HelpView
  
126126 display: none;
127127}
128128
129footer {
130 font-size: 0.9em;
131 text-align: center;
132}
133
129134
130135/* text-annotation styles */
131136
  
9393 },
9494 postSweets: function() {
9595 var appView = swtr.appView;
96 var self = this;
9697 this.helpview.step(5);
9798 appView.$overlay.show();
9899 try {
102102 console.log(collection, response);
103103 swtr.sweets.set(collection);
104104 appView.$overlay.hide();
105 this.helpview.step(6);
105 self.helpview.step(6);
106106 },
107107 error: function(jqxhr, error, text) {
108108 console.log(jqxhr, error, text);
109109 appView.$overlay.hide();
110 this.helpview.step(10);
110 self.helpview.step(10);
111111 }
112112 });
113113 } catch(e) {
114114 if(e.message == 'Access Token is required to sweet') {
115115 appView.$overlay.hide();
116 this.helpview.step(9);
116 self.helpview.step(9);
117117 }
118118 }
119119 this.cleanUp();
591591 break;
592592 case 2: text = 'Annotate the image, or see other annotations';
593593 break;
594 case 3: text = 'Now you can sweet this annotation, or add more annotations';
594 case 3: text = 'Now you can publish this annotation, or add more annotations';
595595 break;
596596 case 4: text = 'Click Sweet button to publish these annotations to the Sweet Store';
597597 break;
  
139139
140140 <hr/>
141141
142 <footer style="text-align: center; font-size: 0.9em;">
142 <footer>
143143 <!--p>This app is part of the <a href="http://www.opencultuurdata.nl/challenge-english/">
144144 Open Cuultur Data challenge</a>
145145 </p-->
153153 [<b>Clink</b>: Middle English clinken, probably from Middle Dutch klinken, of
154154 imitative origin.]
155155 </p>
156 <p style="font-size: 0.8em;">
157 Made with &hearts; by <a href="//twitter.com/rayanon">Anon Ray</a>
158 and <a href="//twitter.com/arvindkhadri">Arvind Khadri</a>
159 </p>
156160 </footer>
157161 </div>
158162
268268 <div class="col-md-8">
269269 <form class="form-inline" role="form">
270270 <div class="form-group">
271 <button class="btn btn-default" id="sweet">Sweet</button>
271 <button class="btn btn-default" id="sweet">Publish</button>
272272 </div>
273273 </form>
274274 </div>