Fix regression error in checkout action button
authorSteven Chan <steven3416@gmail.com>
Wed, 10 Sep 2014 20:43:54 +0000 (13:43 -0700)
committerSteven 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

index 55a820a..dd7673d 100644 (file)
@@ -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