Comments (11)
Are you running the rails-3-1 branch of this plugin?
from refinerycms-page-images.
yes
from refinerycms-page-images.
I'm experiencing this with Refinery 1.0.8 on Heroku as well. Works fine locally in development mode.
from refinerycms-page-images.
I may be experiencing an altogether different problem, because I think the problem must be in my code. I've done some digging to try to see if I can find what's even causing this problem. I can't. Here's what I've tried so far:
- diff the html output between production/development modes (they're identical)
- rolling back back versions of
refinerycms-page-images
back to 0.9.9 - rolling back to Refinery 1.0.7
- throwing an alert between lines 121-122 (the alert wouldn't display).
- putting the
$.proxy(...)
inside an anonymous function - disabling as many other gems as possible
I generated a fresh Refinery 1.0.8 project, and the problem was not there. I tried to bring it in by:
- pulling the database from the server that was having the problem (still works)
- installing
dalli
gem and settingconfig.cache_store = :dalli_store
- enabling
cache_pages_backend
- copying the database from my new project to the one I am having trouble with (still broken)
The only admin code I have is _additional_dashboard_menu_items.html.erb
and one action added to admin/dashboard_controller.rb
.
I realize that because it's not present in a stock Refinery app, it's probably something I did. I just think it's weird that I would have this problem in production mode but not in development mode.
from refinerycms-page-images.
same here. captions cannot be safed in 3.1 branch.
rails 3.1.3
edge via git
page-images branch 3.1
when trying to add a caption to an page image
- there is the error '[missing "en.refinery.js.admin.page_images.done" translation]' where there should be a title
- there is the error '[missing "en.refinery.js.admin.page_images.done" translation]' where there should be a safe button
when clicking on the button that should be the safe button nothing happens.
from refinerycms-page-images.
(saving works in the main branch on refinery gem version btw)
from refinerycms-page-images.
I had a public/javascripts/jquery-min.js in my project. When I deleted it, my problem was fixed. Not sure why it would break it. Does RefineryCMS use a custom version of jQuery?
Bizarre...
from refinerycms-page-images.
Yep, we do, but not for too much longer. The flavour of ours is in https://github.com/resolve/refinerycms/blob/1-0-stable/core/doc/included-jquery-ui-packages.jpg
from refinerycms-page-images.
That would explain it! Hopefully that will fix everyone else's problem as well...
from refinerycms-page-images.
On Refinery 1.0.8 and Page Images 1.0.4...
I was also running a newer version of jQuery at /public/javascripts/jquery.js which was accidentally overriding the bundled version of jQuery that Refinery provides in the gem.
Removing the newer version of jQuery (or renaming/moving it to a subdirectory) solved a few issues: The caption popup's "Done" button now retains the changes you've made, and caption text no longer shuffles around to different images when you reorder/add/remove images.
The only remaining issue is that the caption popup's [X] button does not wipe any changes you made to the caption. It just acts as another Done button. This may have been done by design, however, and not be a bug.
from refinerycms-page-images.
Hi, this is kind of old with no activity so closing it.. please re-open if this is still an issue.
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.