Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 373
- Log:
Initial import of Radiant 0.9.1, which is now packaged as a gem. This is an
import of the tagged 0.9.1 source checked out from GitHub, which isn't quite
the same as the gem distribution - but it doesn't seem to be available in an
archived form and the installed gem already has modifications, so this is
the closest I can get.
- Author:
- rool
- Date:
- Mon Mar 21 13:40:05 +0000 2011
- Size:
- 1288 Bytes
1 | module Admin::SnippetsHelper |
2 | def snippet_edit_javascripts |
3 | <<-CODE |
4 | |
5 | var tagReferenceWindows = {}; |
6 | function loadTagReference() { |
7 | var pageType = 'Page'; |
8 | if (!tagReferenceWindows[pageType]) |
9 | tagReferenceWindows[pageType] = new Popup.AjaxWindow("#{admin_reference_path('tags')}?class_name=" + encodeURIComponent(pageType), {reload: false}); |
10 | var window = tagReferenceWindows[pageType]; |
11 | if('Page' != pageType) { |
12 | $('tag_reference_link').highlight(); |
13 | window.show(); |
14 | } else { |
15 | window.toggle(); |
16 | } |
17 | lastPageType = pageType; |
18 | return false; |
19 | } |
20 | |
21 | var lastFilter = '#{@snippet.filter_id}'; |
22 | var filterWindows = {}; |
23 | function loadFilterReference() { |
24 | var filter = $F("snippet_filter_id"); |
25 | if (filter != "") { |
26 | if (!filterWindows[filter]) filterWindows[filter] = new Popup.AjaxWindow("#{admin_reference_path('filters')}?filter_name="+encodeURIComponent(filter), {reload: false}); |
27 | var window = filterWindows[filter]; |
28 | if(lastFilter != filter) { |
29 | window.show(); |
30 | } else { |
31 | window.toggle(); |
32 | } |
33 | lastFilter = filter; |
34 | } else { |
35 | alert('No documentation for filter.'); |
36 | } |
37 | return false; |
38 | } |
39 | CODE |
40 | end |
41 | end |