projects
/
contrib
/
overdrive-eg-opac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b63fc3d
)
checkout formats may be undefined, avoid error in that scenario
author
Jeff Davis
<jdavis@sitka.bclibraries.ca>
Wed, 25 Feb 2015 22:28:25 +0000
(14:28 -0800)
committer
Jeff Davis
<jdavis@sitka.bclibraries.ca>
Wed, 25 Feb 2015 22:28:25 +0000
(14:28 -0800)
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
src/od_data.coffee
patch
|
blob
|
history
diff --git
a/src/od_data.coffee
b/src/od_data.coffee
index
dd7673d
..
11a6b1f
100644
(file)
--- a/
src/od_data.coffee
+++ b/
src/od_data.coffee
@@
-173,6
+173,7
@@
define [
proxy_urls: ->
for x in @checkouts
@proxies x.actions
+ x.formats = [] if x.formats is undefined
@proxies y.linkTemplates for y in x.formats
return @