corrade-http-templates – Diff between revs 19 and 21
?pathlinks?
Rev 19 | Rev 21 | |||
---|---|---|---|---|
Line 115... | Line 115... | |||
115 | } |
115 | } |
|
116 | }); |
116 | }); |
|
117 | } |
117 | } |
|
Line 118... | Line 118... | |||
118 | |
118 | |
|
119 | // The "download" menu item for textures. |
119 | // The "download" menu item for textures. |
|
120 | if (node.data.type == "texture") { |
120 | if (node.data.type == "texture" || node.data.type == "snapshot") { |
|
121 | $.extend(items, { |
121 | $.extend(items, { |
|
122 | downloadItem: { |
122 | downloadItem: { |
|
123 | label: "Download", |
123 | label: "Download", |
|
124 | "action": function(obj) { |
124 | "action": function(obj) { |