Commit 386a37f7f0740562badd46755f8568409510e7db
Fix small bug when image loaded for first time
When an image was loaded for first time, and no annotations exist, the app
would freeze because of 404 error. Fix that.
| | | | 232 | if(jqxhr.status === 404) { //annotations don't exist for this image | 232 | if(jqxhr.status === 404) { //annotations don't exist for this image |
---|
233 | console.log('annotations don\'t exist for this image. Create one!'); | 233 | console.log('annotations don\'t exist for this image. Create one!'); |
---|
234 | } | 234 | } |
---|
| | 235 | swtr.appView.$overlay.hide(); |
---|
| | 236 | swtr.appView.helpview.step(2); |
---|
235 | } | 237 | } |
---|
236 | }); | 238 | }); |
---|
237 | }, | 239 | }, |
---|