refinerycms 0.9.5.25 → 0.9.5.26

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.5.25
1
+ 0.9.5.26
@@ -17,3 +17,6 @@ config.action_controller.perform_caching = true
17
17
 
18
18
  # Disable delivery errors, bad email addresses will be ignored
19
19
  # config.action_mailer.raise_delivery_errors = false
20
+
21
+ # We don't really need all the other stuff:
22
+ config.log_level = :warn
@@ -1,13 +1,14 @@
1
- jQuery.noConflict();
2
1
  var wymeditor_inputs = [];
3
2
  var wymeditors_loaded = 0;
4
- var wymeditor_boot_options = {
3
+ // supply custom_wymeditor_boot_options if you want to override anything here.
4
+ if (typeof(custom_wymeditor_boot_options) == "undefined") { custom_wymeditor_boot_options = {}; }
5
+ var wymeditor_boot_options = jQuery.extend({
5
6
  skin: 'refinery'
6
7
  , basePath: "/javascripts/wymeditor/"
7
8
  , wymPath: "/javascripts/wymeditor/jquery.refinery.wymeditor.js"
8
9
  , cssSkinPath: "/stylesheets/wymeditor/skins/"
9
10
  , jsSkinPath: "/javascripts/wymeditor/skins/"
10
- , langPath: "/javascripts/wymeditor/lang/"
11
+ , langPath: "/javascripts/wymeditor/lang/"
11
12
  , iframeBasePath: '/'
12
13
  , toolsItems: [
13
14
  {'name': 'Bold', 'title': 'Bold', 'css': 'wym_tools_strong'}
@@ -19,7 +20,7 @@ var wymeditor_boot_options = {
19
20
  ,{'name': 'InsertImage', 'title': 'Image', 'css': 'wym_tools_image'}
20
21
  ,{'name': 'InsertTable', 'title': 'Table', 'css': 'wym_tools_table'}
21
22
  ,{'name': 'ToggleHtml', 'title': 'HTML', 'css': 'wym_tools_html'}
22
- ,{'name': 'Paste', 'title': 'Paste_From_Word', 'css': 'wym_tools_paste'}
23
+ ,{'name': 'Paste', 'title': 'Paste_From_Word', 'css': 'wym_tools_paste'}
23
24
  ]
24
25
 
25
26
  ,toolsHtml: "<ul class='wym_tools wym_section'>" + WYMeditor.TOOLS_ITEMS + WYMeditor.CLASSES + "</ul>"
@@ -140,7 +141,7 @@ var wymeditor_boot_options = {
140
141
  WYMeditor.loaded();
141
142
  }
142
143
  }
143
- };
144
+ }, custom_wymeditor_boot_options);
144
145
 
145
146
  // custom function added by us to hook into when all wymeditor instances on the page have finally loaded:
146
147
  WYMeditor.loaded = function(){};
@@ -4,6 +4,7 @@
4
4
  <%= RefinerySetting.find_or_set(:site_name, 'Company Name').titleize %> - Refinery
5
5
  </title>
6
6
  <%= stylesheet_link_tag 'refinery/thickbox', 'refinery/refinery', 'refinery/tooltips' %>
7
+ <%= render :partial => "/shared/admin/head_before_javascript_libraries" %>
7
8
  <% if RefinerySetting.find_or_set(:use_google_ajax_libraries, true) %>
8
9
  <% unless local_request? %>
9
10
  <script type='text/javascript' src="http://www.google.com/jsapi"></script>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5.25
4
+ version: 0.9.5.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Resolve Digital
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2009-12-10 00:00:00 +13:00
14
+ date: 2009-12-14 00:00:00 +13:00
15
15
  default_executable:
16
16
  dependencies: []
17
17
 
@@ -462,6 +462,7 @@ files:
462
462
  - vendor/plugins/refinery/app/views/shared/admin/_continue_editing.html.erb
463
463
  - vendor/plugins/refinery/app/views/shared/admin/_error_messages_for.html.erb
464
464
  - vendor/plugins/refinery/app/views/shared/admin/_form_actions.html.erb
465
+ - vendor/plugins/refinery/app/views/shared/admin/_head_before_javascript_libraries.html.erb
465
466
  - vendor/plugins/refinery/app/views/shared/admin/_image_picker.html.erb
466
467
  - vendor/plugins/refinery/app/views/shared/admin/_make_sortable.html.erb
467
468
  - vendor/plugins/refinery/app/views/shared/admin/_resource_picker.html.erb