kitsune 0.0.17 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rake'
2
2
 
3
3
  gem_spec = Gem::Specification.new do |gem_spec|
4
4
  gem_spec.name = "kitsune"
5
- gem_spec.version = "0.0.17"
5
+ gem_spec.version = "0.0.18"
6
6
  gem_spec.summary = "Integrated Rails Content Management System."
7
7
  gem_spec.email = "matt@toastyapps.com"
8
8
  gem_spec.homepage = "http://github.com/toastyapps/kitsune"
@@ -27,7 +27,7 @@ class KitsuneGenerator < Rails::Generator::Base
27
27
 
28
28
 
29
29
  m.directory "public/javascripts/kitsune/"
30
- %w[nicEdit.js jquery.js kitsune_jquery.js].each do |js|
30
+ %w[nicEdit.js jquery.js kitsune_jquery.js upload_maker.js].each do |js|
31
31
  m.file "javascripts/#{js}", "public/javascripts/kitsune/#{js}"
32
32
  end
33
33
  m.directory "public/stylesheets/kitsune/"
@@ -4,7 +4,7 @@ $.fn.upload_maker = function(destination) {
4
4
  var id = $(this).attr('id');
5
5
  var image_input_id = id + '_image_url';
6
6
  //write the iframe
7
- $(this).before('<iframe src="'+destination+'?destination=' + image_input_id +'" frameborder="0"></iframe>');
7
+ $(this).before('<iframe style="height: 1em;width:650px" src="'+destination+'&destination=' + image_input_id +'" frameborder="0"></iframe>');
8
8
  //write hidden input
9
9
  $(this).after('<input id="' + image_input_id +'" name="' + image_input_id +'" style="position:absolute;left:-9999em" />');
10
10
  $('#' + image_input_id).focus(function() {
data/lib/kitsune.rb CHANGED
@@ -8,7 +8,7 @@ module Kitsune
8
8
  autoload :Page, 'kitsune/page'
9
9
  class << self
10
10
  def version
11
- '0.0.17'
11
+ '0.0.18'
12
12
  end
13
13
 
14
14
  def model_paths # abstract this to something else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitsune
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Mongeau <matt@toastyapps.com>