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:
e07737b
)
Fix regression error in checkout action button
author
Steven Chan
<steven3416@gmail.com>
Wed, 10 Sep 2014 20:43:54 +0000
(13:43 -0700)
committer
Steven Chan
<steven3416@gmail.com>
Wed, 10 Sep 2014 20:43:54 +0000
(13:43 -0700)
Convert checkout link URLs to reverse proxy format to make it work
again.
Signed-off-by: Steven Chan <steven3416@gmail.com>
src/od_data.coffee
patch
|
blob
|
history
diff --git
a/src/od_data.coffee
b/src/od_data.coffee
index
55a820a
..
dd7673d
100644
(file)
--- a/
src/od_data.coffee
+++ b/
src/od_data.coffee
@@
-170,8
+170,10
@@
define [
@checkouts = [] if @checkouts is undefined
return @
- proxy_urls:->
- (@proxies v.actions) for v, n in @checkouts
+ proxy_urls: ->
+ for x in @checkouts
+ @proxies x.actions
+ @proxies y.linkTemplates for y in x.formats
return @
# For each checkout, convert any ISO 8601 date strings into a