Comments (3)
It happens me too...
Step by step:
- add image > select image > insert
- edit caption of this new image > submit new caption
- add next image > select image > insert causes error
Gemfile
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.0'
# Use mysql as the database for Active Record
gem 'mysql2'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.1.0'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring', group: :development
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
# Use Unicorn as the app server
# gem 'unicorn'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug'
# Access an IRB console on exception pages or by using <%= console %> in views
gem 'web-console', '~> 2.0'
end
gem 'refinerycms', git: 'https://github.com/refinery/refinerycms', branch: 'master'
gem 'refinerycms-i18n', git: 'https://github.com/refinery/refinerycms-i18n', branch: 'master'
gem 'quiet_assets', :group => :development
# Add support for searching inside Refinery's admin interface.
gem 'refinerycms-acts-as-indexed', ['~> 2.0', '>= 2.0.0']
# Add support for Refinery's custom fork of the visual editor WYMeditor.
gem 'refinerycms-wymeditor', ['~> 1.0', '>= 1.0.6']
gem 'seo_meta', git: 'https://github.com/parndt/seo_meta', branch: 'master'
gem 'paper_trail', git: 'https://github.com/airblade/paper_trail', branch: 'master'
gem 'refinerycms-settings', github: 'refinery/refinerycms-settings', branch: 'master'
gem 'refinerycms-page-images', github: 'refinery/refinerycms-page-images', branch: 'master'
gem 'refinerycms-home_items', path: 'vendor/extensions'
gem 'refinerycms-products', path: 'vendor/extensions'
gem 'refinerycms-illustrations', path: 'vendor/extensions'
updated not (24/02/2015 10:50am)
page-image-picker.js:168 Uncaught TypeError: Cannot read property 'split' of undefined page-image-picker.js:168
source error line page-image-picker.js:168:
var parts = $(input).attr('name').split('_');
from refinerycms-page-images.
@parndt Any ideas?
from refinerycms-page-images.
I guess it can't find a name attribute on whatever is found by $(input)
(which might be an empty jQuery collection)
from refinerycms-page-images.
Related Issues (20)
- Friendly_id version HOT 3
- Unable to install and activesupport error HOT 6
- No documentation available for integration with refinerycms-blog HOT 3
- Installing latest refinerycms-page-images for refinerycms edge HOT 1
- Could not find gem 'refinerycms-page-images (~> 3.0.0) x86-mingw32'
- Could not find gem 'refinerycms-page-images (~> 3.0.0) x86-mingw32' HOT 1
- Images tab state after validation fail HOT 2
- Unknown attribute error when saving pages HOT 9
- NoMethodError: private method `prepend' HOT 3
- unknown attribute 'images_attributes' for Refinery::Page if only added to extension HOT 2
- Tab name not translated HOT 1
- Slow page loading times HOT 1
- Heroku pre-compiling assets fails after Heroku deprecated user-env-compile HOT 5
- refinerycms-page-images HOT 2
- Unable to use Rails 5.2.0 because of version globalize and activerecord HOT 5
- Dependabot can't resolve your Ruby dependency files
- Dependabot can't resolve your Ruby dependency files
- Dependabot can't resolve your Ruby dependency files
- Dependabot can't resolve your Ruby dependency files
- Struggling to invalidate cached single image caption HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from refinerycms-page-images.