bcalloway-wysihat-engine 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.10
1
+ 0.1.11
@@ -2,7 +2,7 @@
2
2
  <div id="asset">
3
3
  <%= link_to_function((image_tag wysihat_file.file.url(:thumb)), "$$('iframe##{params[:editor]}')[0].insertImage(this.href); facebox.close();", :href => wysihat_file.file.url) %>
4
4
  </div>
5
- <% if params[:type] && params[:type] == "file" %>
5
+ <% if params[:type] && params[:type] == "image" %>
6
6
  <%= render :partial => '/wysihat_files/clipboard', :locals => { :file => "#{wysihat_file.id}", :url => "http://#{SITE_URL}#{wysihat_file.file.url}" } %>
7
7
  <% end %>
8
8
  <div id="delete">
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bcalloway-wysihat-engine}
8
- s.version = "0.1.10"
8
+ s.version = "0.1.11"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jeff Kreeftmeijer", "Brandon Calloway"]
12
- s.date = %q{2010-02-09}
12
+ s.date = %q{2010-02-10}
13
13
  s.description = %q{Fork of the original wysihat-engine, by Jeff Kreeftmeijer. A Rails engine to help integrate the 37signals WysiHat rich text editor to your application.}
14
14
  s.email = %q{brandon@brandoncalloway.com}
15
15
  s.extra_rdoc_files = [
@@ -7,7 +7,7 @@ var WysihatHelper = {
7
7
  new Effect.Appear($('facebox'), {duration: 0.3});
8
8
 
9
9
  var fb = facebox;
10
- var url = '/wysihat_files/?editor=' + this.id;
10
+ var url = '/wysihat_files/?type=image&editor=' + this.id;
11
11
 
12
12
  new Ajax.Request(url, {
13
13
  method : 'get',
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bcalloway-wysihat-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Kreeftmeijer
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2010-02-09 00:00:00 -05:00
13
+ date: 2010-02-10 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency